!function(e){(e.activetag=e.activetag||{}).config={isSitePlugin:!0,dummy:null}}(this),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,j){"use strict";function y(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function g(e){return null!=e&&e===e.window}var t=[],F=Object.getPrototypeOf,s=t.slice,I=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},L=t.push,R=t.indexOf,q={},U=q.toString,H=q.hasOwnProperty,V=H.toString,z=V.call(Object),m={},k=w.document,W={type:!0,src:!0,nonce:!0,noModule:!0};function G(e,t,n){var r,i,o=(n=n||k).createElement("script");if(o.text=e,t)for(r in W)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function h(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?q[U.call(e)]||"object":typeof e}var e="3.6.0",x=function(e,t){return new x.fn.init(e,t)};function X(e){var t=!!e&&"length"in e&&e.length,n=h(e);return!y(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}x.fn=x.prototype={jquery:e,constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=x.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return x.each(this,e)},map:function(n){return this.pushStack(x.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:L,sort:t.sort,splice:t.splice},x.extend=x.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||y(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[t],i=r&&!Array.isArray(i)?[]:r||x.isPlainObject(i)?i:{},r=!1,o[t]=x.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},x.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==U.call(e))&&(!(e=F(e))||"function"==typeof(e=H.call(e,"constructor")&&e.constructor)&&V.call(e)===z)},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){G(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(X(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(X(Object(e))?x.merge(t,"string"==typeof e?[e]:e):L.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:R.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(X(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return I(a)},guid:1,support:m}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=t[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){q["[object "+t+"]"]=t.toLowerCase()});function r(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r}function Z(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var e=function(j){function d(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function F(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function I(){k()}var e,f,b,o,L,p,R,q,w,u,c,k,x,n,C,h,r,i,g,B="sizzle"+ +new Date,l=j.document,A=0,U=0,H=_(),V=_(),z=_(),m=_(),W=function(e,t){return e===t&&(c=!0),0},G={}.hasOwnProperty,t=[],X=t.pop,Z=t.push,E=t.push,K=t.slice,y=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",s="(?:\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Y="\\["+a+"*("+s+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+s+"))|)"+a+"*\\]",Q=":("+s+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Y+")*)|.*)\\)|)",ee=new RegExp(a+"+","g"),v=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),te=new RegExp("^"+a+"*,"+a+"*"),ne=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),re=new RegExp(a+"|>"),ie=new RegExp(Q),oe=new RegExp("^"+s+"$"),$={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s+"|[*])"),ATTR:new RegExp("^"+Y),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ae=/HTML$/i,se=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,S=/^[^{]+\{\s*\[native \w/,ce=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,le=/[+~]/,P=new RegExp("\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\([^\\r\\n\\f])","g"),de=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,fe=ye(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{E.apply(t=K.call(l.childNodes),l.childNodes),t[l.childNodes.length].nodeType}catch(e){E={apply:t.length?function(e,t){Z.apply(e,K.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function T(t,e,n,r){var i,o,a,s,u,c,l=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(k(e),e=e||x,C)){if(11!==d&&(s=ce.exec(t)))if(i=s[1]){if(9===d){if(!(c=e.getElementById(i)))return n;if(c.id===i)return n.push(c),n}else if(l&&(c=l.getElementById(i))&&g(e,c)&&c.id===i)return n.push(c),n}else{if(s[2])return E.apply(n,e.getElementsByTagName(t)),n;if((i=s[3])&&f.getElementsByClassName&&e.getElementsByClassName)return E.apply(n,e.getElementsByClassName(i)),n}if(f.qsa&&!m[t+" "]&&(!h||!h.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,l=e,1===d&&(re.test(t)||ne.test(t))){for((l=le.test(t)&&me(e.parentNode)||e)===e&&f.scope||((a=e.getAttribute("id"))?a=a.replace(de,F):e.setAttribute("id",a=B)),o=(u=p(t)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+N(u[o]);c=u.join(",")}try{return E.apply(n,l.querySelectorAll(c)),n}catch(e){m(t,!0)}finally{a===B&&e.removeAttribute("id")}}}return q(t.replace(v,"$1"),e,n,r)}function _(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function M(e){return e[B]=!0,e}function D(e){var t=x.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&fe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function O(a){return M(function(o){return o=+o,M(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=T.support={},L=T.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!ae.test(t||e&&e.nodeName||"HTML")},k=T.setDocument=function(e){var e=e?e.ownerDocument||e:l;return e!=x&&9===e.nodeType&&e.documentElement&&(n=(x=e).documentElement,C=!L(x),l!=x&&(e=x.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",I,!1):e.attachEvent&&e.attachEvent("onunload",I)),f.scope=D(function(e){return n.appendChild(e).appendChild(x.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),f.attributes=D(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=D(function(e){return e.appendChild(x.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=S.test(x.getElementsByClassName),f.getById=D(function(e){return n.appendChild(e).id=B,!x.getElementsByName||!x.getElementsByName(B).length}),f.getById?(b.filter.ID=function(e){var t=e.replace(P,d);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&C)return(t=t.getElementById(e))?[t]:[]}):(b.filter.ID=function(e){var t=e.replace(P,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},r=[],h=[],(f.qsa=S.test(x.querySelectorAll))&&(D(function(e){var t;n.appendChild(e).innerHTML="<a id='"+B+"'></a><select id='"+B+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&h.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+a+"*(?:value|"+J+")"),e.querySelectorAll("[id~="+B+"-]").length||h.push("~="),(t=x.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+a+"*name"+a+"*="+a+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||h.push(":checked"),e.querySelectorAll("a#"+B+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll("\\\f"),h.push("[\\r\\n\\f]")}),D(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=x.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+a+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&h.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(f.matchesSelector=S.test(i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&D(function(e){f.disconnectedMatch=i.call(e,"*"),i.call(e,"[s!='']:x"),r.push("!=",Q)}),h=h.length&&new RegExp(h.join("|")),r=r.length&&new RegExp(r.join("|")),e=S.test(n.compareDocumentPosition),g=e||S.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=e?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e==x||e.ownerDocument==l&&g(l,e)?-1:t==x||t.ownerDocument==l&&g(l,t)?1:u?y(u,e)-y(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==x?-1:t==x?1:i?-1:o?1:u?y(u,e)-y(u,t):0;if(i===o)return he(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?he(a[r],s[r]):a[r]==l?-1:s[r]==l?1:0}),x},T.matches=function(e,t){return T(e,null,null,t)},T.matchesSelector=function(e,t){if(k(e),f.matchesSelector&&C&&!m[t+" "]&&(!r||!r.test(t))&&(!h||!h.test(t)))try{var n=i.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){m(t,!0)}return 0<T(t,x,null,[e]).length},T.contains=function(e,t){return(e.ownerDocument||e)!=x&&k(e),g(e,t)},T.attr=function(e,t){(e.ownerDocument||e)!=x&&k(e);var n=b.attrHandle[t.toLowerCase()],n=n&&G.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==n?n:f.attributes||!C?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},T.escape=function(e){return(e+"").replace(de,F)},T.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!f.detectDuplicates,u=!f.sortStable&&e.slice(0),e.sort(W),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=T.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=T.selectors={cacheLength:50,createPseudo:M,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(P,d),e[3]=(e[3]||e[4]||e[5]||"").replace(P,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||T.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&T.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ie.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(P,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=T.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(ee," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,g,m){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),$="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,c=v!=y?"nextSibling":"previousSibling",l=e.parentNode,d=$&&e.nodeName.toLowerCase(),f=!n&&!$,p=!1;if(l){if(v){for(;c;){for(a=e;a=a[c];)if($?a.nodeName.toLowerCase()===d:1===a.nodeType)return!1;u=c="only"===h&&!u&&"nextSibling"}return!0}if(u=[y?l.firstChild:l.lastChild],y&&f){for(p=(s=(r=(i=(o=(a=l)[B]||(a[B]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===A&&r[1])&&r[2],a=s&&l.childNodes[s];a=++s&&a&&a[c]||(p=s=0)||u.pop();)if(1===a.nodeType&&++p&&a===e){i[h]=[A,s,p];break}}else if(!1===(p=f?s=(r=(i=(o=(a=e)[B]||(a[B]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===A&&r[1]:p))for(;(a=++s&&a&&a[c]||(p=s=0)||u.pop())&&(($?a.nodeName.toLowerCase()!==d:1!==a.nodeType)||!++p||(f&&((i=(o=a[B]||(a[B]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[A,p]),a!==e)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||T.error("unsupported pseudo: "+e);return a[B]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?M(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=y(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:M(function(e){var r=[],i=[],s=R(e.replace(v,"$1"));return s[B]?M(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:M(function(t){return function(e){return 0<T(t,e).length}}),contains:M(function(t){return t=t.replace(P,d),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:M(function(n){return oe.test(n||"")||T.error("unsupported lang: "+n),n=n.replace(P,d).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=j.location&&j.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return ue.test(e.nodeName)},input:function(e){return se.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:O(function(){return[0]}),last:O(function(e,t){return[t-1]}),eq:O(function(e,t,n){return[n<0?n+t:n]}),even:O(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:O(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:O(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:O(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ve(){}function N(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ye(a,e,t){var s=e.dir,u=e.next,c=u||s,l=t&&"parentNode"===c,d=U++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||l)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[A,d];if(n){for(;e=e[s];)if((1===e.nodeType||l)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||l)if(i=(i=e[B]||(e[B]={}))[e.uniqueID]||(i[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[s]||e;else{if((r=i[c])&&r[0]===A&&r[1]===d)return o[2]=r[2];if((i[c]=o)[2]=a(e,t,n))return!0}return!1}}function $e(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function be(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)!(o=e[s])||n&&!n(o,r,i)||(a.push(o),c&&t.push(s));return a}function we(p,h,g,m,v,e){return m&&!m[B]&&(m=we(m)),v&&!v[B]&&(v=we(v,e)),M(function(e,t,n,r){var i,o,a,s=[],u=[],c=t.length,l=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)T(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!p||!e&&h?l:be(l,s,p,n,r),f=g?v||(e?p:c||m)?[]:t:d;if(g&&g(d,f,n,r),m)for(i=be(f,u),m(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[u[o]]=!(d[u[o]]=a));if(e){if(v||p){if(v){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(d[o]=a);v(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=v?y(e,a):s[o])&&(e[i]=!(t[i]=a))}}else f=be(f===t?f.splice(c,f.length):f),v?v(null,t,f,r):E.apply(t,f)})}function ke(m,v){function e(e,t,n,r,i){var o,a,s,u=0,c="0",l=e&&[],d=[],f=w,p=e||$&&b.find.TAG("*",i),h=A+=null==f?1:Math.random()||.1,g=p.length;for(i&&(w=t==x||t||i);c!==g&&null!=(o=p[c]);c++){if($&&o){for(a=0,t||o.ownerDocument==x||(k(o),n=!C);s=m[a++];)if(s(o,t||x,n)){r.push(o);break}i&&(A=h)}y&&((o=!s&&o)&&u--,e&&l.push(o))}if(u+=c,y&&c!==u){for(a=0;s=v[a++];)s(l,d,t,n);if(e){if(0<u)for(;c--;)l[c]||d[c]||(d[c]=X.call(r));d=be(d)}E.apply(r,d),i&&!e&&0<d.length&&1<u+v.length&&T.uniqueSort(r)}return i&&(A=h,w=f),l}var y=0<v.length,$=0<m.length;return y?M(e):e}return ve.prototype=b.filters=b.pseudos,b.setFilters=new ve,p=T.tokenize=function(e,t){var n,r,i,o,a,s,u,c=V[e+" "];if(c)return t?0:c.slice(0);for(a=e,s=[],u=b.preFilter;a;){for(o in n&&!(r=te.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=ne.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(v," ")}),a=a.slice(n.length)),b.filter)!(r=$[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?T.error(e):V(e,s).slice(0)},R=T.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(n=(t=t||p(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,a=b.relative[t[0].type],s=a||b.relative[" "],u=a?1:0,c=ye(function(e){return e===r},s,!0),l=ye(function(e){return-1<y(r,e)},s,!0),d=[function(e,t,n){return e=!a&&(n||t!==w)||((r=t).nodeType?c:l)(e,t,n),r=null,e}];u<o;u++)if(n=b.relative[t[u].type])d=[ye($e(d),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[B]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return we(1<u&&$e(d),1<u&&N(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(v,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&N(t))}d.push(n)}return $e(d)}(t[n]))[B]?r:i).push(o);(o=z(e,ke(i,r))).selector=e}return o},q=T.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,l=!r&&p(e=c.selector||e);if(n=n||[],1===l.length){if(2<(o=l[0]=l[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(P,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=$.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((u=b.find[s])&&(r=u(a.matches[0].replace(P,d),le.test(o[0].type)&&me(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&N(o))break;return E.apply(n,r),n}}return(c||R(e,l))(r,t,!C,n,!t||le.test(e)&&me(t.parentNode)||t),n},f.sortStable=B.split("").sort(W).join("")===B,f.detectDuplicates=!!c,k(),f.sortDetached=D(function(e){return 1&e.compareDocumentPosition(x.createElement("fieldset"))}),D(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&D(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),D(function(e){return null==e.getAttribute("disabled")})||pe(J,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),T}(w),K=(x.find=e,x.expr=e.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=e.uniqueSort,x.text=e.getText,x.isXMLDoc=e.isXML,x.contains=e.contains,x.escapeSelector=e.escape,x.expr.match.needsContext);function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var J=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Y(e,n,r){return y(n)?x.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?x.grep(e,function(e){return e===n!==r}):"string"!=typeof n?x.grep(e,function(e){return-1<R.call(n,e)!==r}):x.filter(n,e,r)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<r;t++)if(x.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,i[t],n);return 1<r?x.uniqueSort(n):n},filter:function(e){return this.pushStack(Y(this,e||[],!1))},not:function(e){return this.pushStack(Y(this,e||[],!0))},is:function(e){return!!Y(this,"string"==typeof e&&K.test(e)?x(e):e||[],!1).length}});var Q,ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,te=((x.fn.init=function(e,t,n){if(!e)return this;if(n=n||Q,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),J.test(r[1])&&x.isPlainObject(t))for(var r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=k.getElementById(r[2]))&&(this[0]=n,this.length=1),this}).prototype=x.fn,Q=x(k),/^(?:parents|prev(?:Until|All))/),ne={children:!0,contents:!0,next:!0,prev:!0};function re(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&x(e);if(!K.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?R.call(x(e),this[0]):R.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return r(e,"parentNode")},parentsUntil:function(e,t,n){return r(e,"parentNode",n)},next:function(e){return re(e,"nextSibling")},prev:function(e){return re(e,"previousSibling")},nextAll:function(e){return r(e,"nextSibling")},prevAll:function(e){return r(e,"previousSibling")},nextUntil:function(e,t,n){return r(e,"nextSibling",n)},prevUntil:function(e,t,n){return r(e,"previousSibling",n)},siblings:function(e){return Z((e.parentNode||{}).firstChild,e)},children:function(e){return Z(e.firstChild)},contents:function(e){return null!=e.contentDocument&&F(e.contentDocument)?e.contentDocument:(u(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(r,i){x.fn[r]=function(e,t){var n=x.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=x.filter(t,n)),1<this.length&&(ne[r]||x.uniqueSort(n),te.test(r)&&n.reverse()),this.pushStack(n)}});var C=/[^\x20\t\r\n\f]+/g;function l(e){return e}function ie(e){throw e}function oe(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},x.each(e.match(C)||[],function(e,t){n[t]=!0}),n):x.extend({},r);function i(){for(s=s||r.once,a=o=!0;c.length;l=-1)for(t=c.shift();++l<u.length;)!1===u[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=u.length,t=!1);r.memory||(t=!1),o=!1,s&&(u=t?[]:"")}var o,t,a,s,u=[],c=[],l=-1,d={add:function(){return u&&(t&&!o&&(l=u.length-1,c.push(t)),function n(e){x.each(e,function(e,t){y(t)?r.unique&&d.has(t)||u.push(t):t&&t.length&&"string"!==h(t)&&n(t)})}(arguments),t&&!o&&i()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;-1<(n=x.inArray(t,u,n));)u.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<x.inArray(e,u):0<u.length},empty:function(){return u=u&&[],this},disable:function(){return s=c=[],u=t="",this},disabled:function(){return!u},lock:function(){return s=c=[],t||o||(u=t=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),o||i()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},x.extend({Deferred:function(e){var o=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var i=arguments;return x.Deferred(function(r){x.each(o,function(e,t){var n=y(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function c(i,o,a,s){return function(){function e(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?s?t.call(e,c(u,o,l,s),c(u,o,ie,s)):(u++,t.call(e,c(u,o,l,s),c(u,o,ie,s),c(u,o,l,o.notifyWith))):(a!==l&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}}var n=this,r=arguments,t=s?e:function(){try{e()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==ie&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(x.Deferred.getStackHook&&(t.stackTrace=x.Deferred.getStackHook()),w.setTimeout(t))}}return x.Deferred(function(e){o[0][3].add(c(0,e,y(r)?r:l,e.notifyWith)),o[1][3].add(c(0,e,y(t)?t:l)),o[2][3].add(c(0,e,y(n)?n:ie))}).promise()},promise:function(e){return null!=e?x.extend(e,a):a}},s={};return x.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t){return function(e){i[t]=this,o[t]=1<arguments.length?s.call(arguments):e,--n||a.resolveWith(i,o)}}var n=arguments.length,r=n,i=Array(r),o=s.call(arguments),a=x.Deferred();if(n<=1&&(oe(e,a.done(t(r)).resolve,a.reject,!n),"pending"===a.state()||y(o[r]&&o[r].then)))return a.then();for(;r--;)oe(o[r],t(r),a.reject);return a.promise()}});var ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,se=(x.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&ae.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){w.setTimeout(function(){throw e})},x.Deferred());function ue(){k.removeEventListener("DOMContentLoaded",ue),w.removeEventListener("load",ue),x.ready()}x.fn.ready=function(e){return se.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0)!==e&&0<--x.readyWait||se.resolveWith(k,[x])}}),x.ready.then=se.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?w.setTimeout(x.ready):(k.addEventListener("DOMContentLoaded",ue),w.addEventListener("load",ue));function d(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===h(n))for(s in i=!0,n)d(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),t=c?a?(t.call(e,r),null):(c=t,function(e,t,n){return c.call(x(e),n)}):t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o}var ce=/^-ms-/,le=/-([a-z])/g;function de(e,t){return t.toUpperCase()}function $(e){return e.replace(ce,"ms-").replace(le,de)}function v(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function fe(){this.expando=x.expando+fe.uid++}fe.uid=1,fe.prototype={cache:function(e){var t=e[this.expando];return t||(t={},v(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[$(t)]=n;else for(r in t)i[$(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][$(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map($):(t=$(t))in r?[t]:t.match(C)||[]).length;for(;n--;)delete r[t[n]]}void 0!==t&&!x.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var b=new fe,c=new fe,pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,he=/[A-Z]/g;function ge(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(he,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:pe.test(i)?JSON.parse(i):i)}catch(e){}c.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return c.hasData(e)||b.hasData(e)},data:function(e,t,n){return c.access(e,t,n)},removeData:function(e,t){c.remove(e,t)},_data:function(e,t,n){return b.access(e,t,n)},_removeData:function(e,t){b.remove(e,t)}}),x.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){c.set(this,n)}):d(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=c.get(o,n))||void 0!==(t=ge(o,n))?t:void 0;this.each(function(){c.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=c.get(o),1===o.nodeType&&!b.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=$(r.slice(5)),ge(o,r,i[r]));b.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){c.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return r=b.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=b.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b.get(e,n)||b.access(e,n,{empty:x.Callbacks("once memory").add(function(){b.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?x.queue(this[0],t):void 0===n?this:this.each(function(){var e=x.queue(this,t,n);x._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&x.dequeue(this,t)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=x.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=b.get(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function me(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&A(e)&&"none"===x.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ve=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),f=["Top","Right","Bottom","Left"],B=k.documentElement,A=function(e){return x.contains(e.ownerDocument,e)},ye={composed:!0};B.getRootNode&&(A=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});function $e(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=s(),c=n&&n[3]||(x.cssNumber[t]?"":"px"),l=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+u)&&ve.exec(x.css(e,t));if(l&&l[3]!==c){for(c=c||l[3],l=+(u/=2)||1;a--;)x.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;x.style(e,t,(l*=2)+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var be={};function E(e,t){for(var n,r,i,o,a,s=[],u=0,c=e.length;u<c;u++)(r=e[u]).style&&(n=r.style.display,t?("none"===n&&(s[u]=b.get(r,"display")||null,s[u]||(r.style.display="")),""===r.style.display&&me(r)&&(s[u]=(a=o=void 0,o=(i=r).ownerDocument,i=i.nodeName,(a=be[i])||(o=o.body.appendChild(o.createElement(i)),a=x.css(o,"display"),o.parentNode.removeChild(o),be[i]=a="none"===a?"block":a)))):"none"!==n&&(s[u]="none",b.set(r,"display",n)));for(u=0;u<c;u++)null!=s[u]&&(e[u].style.display=s[u]);return e}x.fn.extend({show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){me(this)?x(this).show():x(this).hide()})}});var we=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,xe=/^$|^module$|\/(?:java|ecma)script/i,S=(M=k.createDocumentFragment().appendChild(k.createElement("div")),(a=k.createElement("input")).setAttribute("type","radio"),a.setAttribute("checked","checked"),a.setAttribute("name","t"),M.appendChild(a),m.checkClone=M.cloneNode(!0).cloneNode(!0).lastChild.checked,M.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!M.cloneNode(!0).lastChild.defaultValue,M.innerHTML="<option></option>",m.option=!!M.lastChild,{thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]});function P(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&u(e,t)?x.merge([e],n):n}function Ce(e,t){for(var n=0,r=e.length;n<r;n++)b.set(e[n],"globalEval",!t||b.get(t[n],"globalEval"))}S.tbody=S.tfoot=S.colgroup=S.caption=S.thead,S.th=S.td,m.option||(S.optgroup=S.option=[1,"<select multiple='multiple'>","</select>"]);var Be=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,c,l=t.createDocumentFragment(),d=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===h(o))x.merge(d,o.nodeType?[o]:o);else if(Be.test(o)){for(a=a||l.appendChild(t.createElement("div")),s=(ke.exec(o)||["",""])[1].toLowerCase(),s=S[s]||S._default,a.innerHTML=s[1]+x.htmlPrefilter(o)+s[2],c=s[0];c--;)a=a.lastChild;x.merge(d,a.childNodes),(a=l.firstChild).textContent=""}else d.push(t.createTextNode(o));for(l.textContent="",f=0;o=d[f++];)if(r&&-1<x.inArray(o,r))i&&i.push(o);else if(u=A(o),a=P(l.appendChild(o),"script"),u&&Ce(a),n)for(c=0;o=a[c++];)xe.test(o.type||"")&&n.push(o);return l}var Ee=/^([^.]*)(?:\.(.+)|)/;function n(){return!0}function p(){return!1}function Se(e,t){return e===function(){try{return k.activeElement}catch(e){}}()==("focus"===t)}function Pe(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=p;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,r,n)})}function Te(e,i,o){o?(b.set(e,i,!1),x.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=b.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(x.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),b.set(this,i,r),t=o(this,i),this[i](),r!==(n=b.get(this,i))||t?b.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(b.set(this,i,{value:x.event.trigger(x.extend(r[0],x.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===b.get(e,i)&&x.event.add(e,i,n)}x.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,c,l,d,f,p,h=b.get(t);if(v(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(B,i),n.guid||(n.guid=x.guid++),(s=h.events)||(s=h.events=Object.create(null)),(a=h.handle)||(a=h.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(C)||[""]).length;u--;)d=p=(f=Ee.exec(e[u])||[])[1],f=(f[2]||"").split(".").sort(),d&&(c=x.event.special[d]||{},d=(i?c.delegateType:c.bindType)||d,c=x.event.special[d]||{},p=x.extend({type:d,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:f.join(".")},o),(l=s[d])||((l=s[d]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,r,f,a)||t.addEventListener&&t.addEventListener(d,a)),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),i?l.splice(l.delegateCount++,0,p):l.push(p),x.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,g,m=b.hasData(e)&&b.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(C)||[""]).length;c--;)if(p=g=(s=Ee.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&g!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||x.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)x.event.remove(e,p+t[c],n,r,!0);x.isEmptyObject(u)&&b.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a=new Array(arguments.length),s=x.event.fix(e),e=(b.get(this,"events")||Object.create(null))[s.type]||[],u=x.event.special[s.type]||{};for(a[0]=s,t=1;t<arguments.length;t++)a[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(o=x.event.handlers.call(this,s,e),t=0;(r=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==i.namespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(i=((x.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<x(i,this).index(c):x.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return we.test(e.type)&&e.click&&u(e,"input")&&Te(e,"click",n),!1},trigger:function(e){e=this||e;return we.test(e.type)&&e.click&&u(e,"input")&&Te(e,"click"),!0},_default:function(e){e=e.target;return we.test(e.type)&&e.click&&u(e,"input")&&b.get(e,"click")||u(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?n:p,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=n,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=n,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=n,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(e,t){x.event.special[e]={setup:function(){return Te(this,e,Se),!1},trigger:function(){return Te(this,e),!0},_default:function(){return!0},delegateType:t}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){x.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||x.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),x.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=p),this.each(function(){x.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var _e=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o;if(1===t.nodeType){if(b.hasData(e)&&(o=b.get(e).events))for(i in b.remove(t,"handle events"),o)for(n=0,r=o[i].length;n<r;n++)x.event.add(t,i,o[i][n]);c.hasData(e)&&(e=c.access(e),e=x.extend({},e),c.set(t,e))}}function T(n,r,i,o){r=I(r);var e,t,a,s,u,c,l=0,d=n.length,f=d-1,p=r[0],h=y(p);if(h||1<d&&"string"==typeof p&&!m.checkClone&&Me.test(p))return n.each(function(e){var t=n.eq(e);h&&(r[0]=p.call(this,e,t.html())),T(t,r,i,o)});if(d&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=x.map(P(e,"script"),Ne)).length;l<d;l++)u=e,l!==f&&(u=x.clone(u,!0,!0),s&&x.merge(a,P(u,"script"))),i.call(n[l],u,l);if(s)for(c=a[a.length-1].ownerDocument,x.map(a,je),l=0;l<s;l++)u=a[l],xe.test(u.type||"")&&!b.access(u,"globalEval")&&x.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?x._evalUrl&&!u.noModule&&x._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):G(u.textContent.replace(De,""),u,c))}return n}function Ie(e,t,n){for(var r,i=t?x.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||x.cleanData(P(r)),r.parentNode&&(n&&A(r)&&Ce(P(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,c,l=e.cloneNode(!0),d=A(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=P(l),r=0,i=(o=P(e)).length;r<i;r++)s=o[r],u=a[r],c=void 0,"input"===(c=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==c&&"textarea"!==c||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||P(e),a=a||P(l),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,l);return 0<(a=P(l,"script")).length&&Ce(a,!d&&P(e,"script")),l},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(v(n)){if(t=n[b.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[b.expando]=void 0}n[c.expando]&&(n[c.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return d(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return T(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Oe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(P(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return d(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!_e.test(e)&&!S[(ke.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(P(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return T(this,arguments,function(e){var t=this.parentNode;x.inArray(this,n)<0&&(x.cleanData(P(this)),t&&t.replaceChild(e,this))},n)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){x.fn[e]=function(e){for(var t,n=[],r=x(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),x(r[o])[a](t),L.apply(n,t.get());return this.pushStack(n)}});function Le(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}function Re(e,t,n){var r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=n.call(e),t)e.style[r]=i[r];return n}var qe,Ue,He,Ve,ze,We,Ge,i,Xe=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Ze=new RegExp(f.join("|"),"i");function Ke(){var e;i&&(Ge.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",i.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",B.appendChild(Ge).appendChild(i),e=w.getComputedStyle(i),qe="1%"!==e.top,We=12===Je(e.marginLeft),i.style.right="60%",Ve=36===Je(e.right),Ue=36===Je(e.width),i.style.position="absolute",He=12===Je(i.offsetWidth/3),B.removeChild(Ge),i=null)}function Je(e){return Math.round(parseFloat(e))}function Ye(e,t,n){var r,i,o=e.style;return(n=n||Le(e))&&(""!==(i=n.getPropertyValue(t)||n[t])||A(e)||(i=x.style(e,t)),!m.pixelBoxStyles()&&Xe.test(i)&&Ze.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=e,o.minWidth=t,o.maxWidth=r)),void 0!==i?i+"":i}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Ge=k.createElement("div"),(i=k.createElement("div")).style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===i.style.backgroundClip,x.extend(m,{boxSizingReliable:function(){return Ke(),Ue},pixelBoxStyles:function(){return Ke(),Ve},pixelPosition:function(){return Ke(),qe},reliableMarginLeft:function(){return Ke(),We},scrollboxSize:function(){return Ke(),He},reliableTrDimensions:function(){var e,t,n;return null==ze&&(e=k.createElement("table"),t=k.createElement("tr"),n=k.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",B.appendChild(e).appendChild(t).appendChild(n),n=w.getComputedStyle(t),ze=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,B.removeChild(e)),ze}}));var et=["Webkit","Moz","ms"],tt=k.createElement("div").style,nt={};function rt(e){var t=x.cssProps[e]||nt[e];return t||(e in tt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,ot=/^--/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function ut(e,t,n){var r=ve.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=x.css(e,n+f[a],!0,i)),r?("content"===n&&(u-=x.css(e,"padding"+f[a],!0,i)),"margin"!==n&&(u-=x.css(e,"border"+f[a]+"Width",!0,i))):(u+=x.css(e,"padding"+f[a],!0,i),"padding"!==n?u+=x.css(e,"border"+f[a]+"Width",!0,i):s+=x.css(e,"border"+f[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function lt(e,t,n){var r=Le(e),i=(!m.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),o=i,a=Ye(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&u(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(i?"border":"content"),o,r,a)+"px"}function o(e,t,n,r,i){return new o.prototype.init(e,t,n,r,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=Ye(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=$(t),u=ot.test(t),c=e.style;if(u||(t=rt(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ve.exec(n))&&i[1]&&(n=$e(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(x.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o=$(t);return ot.test(t)||(t=rt(o)),"normal"===(i=void 0===(i=(o=x.cssHooks[t]||x.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?Ye(e,t,r):i)&&t in st&&(i=st[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,a){x.cssHooks[a]={get:function(e,t,n){if(t)return!it.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?lt(e,a,n):Re(e,at,function(){return lt(e,a,n)})},set:function(e,t,n){var r=Le(e),i=!m.scrollboxSize()&&"absolute"===r.position,o=(i||n)&&"border-box"===x.css(e,"boxSizing",!1,r),n=n?ct(e,a,n,o,r):0;return o&&i&&(n-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(r[a])-ct(e,a,"border",!1,r)-.5)),n&&(o=ve.exec(t))&&"px"!==(o[3]||"px")&&(e.style[a]=t,t=x.css(e,a)),ut(0,t,n)}}}),x.cssHooks.marginLeft=Qe(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-Re(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(i,o){x.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+f[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(x.cssHooks[i+o].set=ut)}),x.fn.extend({css:function(e,t){return d(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Le(e),i=t.length;a<i;a++)o[t[a]]=x.css(e,t[a],!1,r);return o}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,1<arguments.length)}}),((x.Tween=o).prototype={constructor:o,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=o.propHooks[this.prop];return(e&&e.get?e:o.propHooks._default).get(this)},run:function(e){var t,n=o.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:o.propHooks._default).set(this),this}}).init.prototype=o.prototype,(o.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=x.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=o.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=o.prototype.init,x.fx.step={};var _,dt,a,M,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function ht(){dt&&(!1===k.hidden&&w.requestAnimationFrame?w.requestAnimationFrame(ht):w.setTimeout(ht,x.fx.interval),x.fx.tick())}function gt(){return w.setTimeout(function(){_=void 0}),_=Date.now()}function mt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=f[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(D.tweeners[t]||[]).concat(D.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function D(i,e,t){var n,o,r,a,s,u,c,l=0,d=D.prefilters.length,f=x.Deferred().always(function(){delete p.elem}),p=function(){if(o)return!1;for(var e=_||gt(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return f.notifyWith(i,[h,t,e]),t<1&&r?e:(r||f.notifyWith(i,[h,1,0]),f.resolveWith(i,[h]),!1)},h=f.promise({elem:i,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},t),originalProperties:e,originalOptions:t,startTime:_||gt(),duration:t.duration,tweens:[],createTween:function(e,t){t=x.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){var t=0,n=e?h.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)h.tweens[t].run(1);return e?(f.notifyWith(i,[h,1,0]),f.resolveWith(i,[h,e])):f.rejectWith(i,[h,e]),this}}),g=h.props,m=g,v=h.opts.specialEasing;for(r in m)if(s=v[a=$(r)],u=m[r],Array.isArray(u)&&(s=u[1],u=m[r]=u[0]),r!==a&&(m[a]=u,delete m[r]),(c=x.cssHooks[a])&&"expand"in c)for(r in u=c.expand(u),delete m[a],u)r in m||(m[r]=u[r],v[r]=s);else v[a]=s;for(;l<d;l++)if(n=D.prefilters[l].call(h,i,g,h.opts))return y(n.stop)&&(x._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return x.map(g,vt,h),y(h.opts.start)&&h.opts.start.call(i,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),x.fx.timer(x.extend(p,{elem:i,anim:h,queue:h.opts.queue})),h}x.Animation=x.extend(D,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return $e(n.elem,e,ve.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=y(e)?(t=e,["*"]):e.match(C)).length;r<i;r++)n=e[r],D.tweeners[n]=D.tweeners[n]||[],D.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,c,l="width"in t||"height"in t,d=this,f={},p=e.style,h=e.nodeType&&me(e),g=b.get(e,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}f[r]=g&&g[r]||x.style(e,r)}if((u=!x.isEmptyObject(t))||!x.isEmptyObject(f))for(r in l&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=b.get(e,"display")),"none"===(l=x.css(e,"display"))&&(c?l=c:(E([e],!0),c=e.style.display||c,l=x.css(e,"display"),E([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===x.css(e,"float")&&(u||(d.done(function(){p.display=c}),null==c&&(l=p.display,c="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1,f)u||(g?"hidden"in g&&(h=g.hidden):g=b.access(e,"fxshow",{display:c}),o&&(g.hidden=!h),h&&E([e],!0),d.done(function(){for(r in h||E([e]),b.remove(e,"fxshow"),f)x.style(e,r,f[r])})),u=vt(h?g[r]:0,r,d),r in g||(g[r]=u.start,h&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?D.prefilters.unshift(e):D.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=D(this,x.extend({},t),a);(o||b.get(this,"finish"))&&e.stop(!0)}var o=x.isEmptyObject(t),a=x.speed(e,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=x.timers,r=b.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||x.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=b.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=x.timers,o=n?n.length:0;for(t.finish=!0,x.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),x.each(["toggle","show","hide"],function(e,r){var i=x.fn[r];x.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(mt(r,!0),e,t,n)}}),x.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){x.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(_=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),_=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){dt||(dt=!0,ht())},x.fx.stop=function(){dt=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(r,e){return r=x.fx&&x.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=w.setTimeout(e,r);t.stop=function(){w.clearTimeout(n)}})},a=k.createElement("input"),M=k.createElement("select").appendChild(k.createElement("option")),a.type="checkbox",m.checkOn=""!==a.value,m.optSelected=M.selected,(a=k.createElement("input")).value="t",a.type="radio",m.radioValue="t"===a.value;var yt,$t=x.expr.attrHandle,bt=(x.fn.extend({attr:function(e,t){return d(this,x.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){var n;if(!m.radioValue&&"radio"===t&&u(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(C);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var a=$t[t]||x.find.attr;$t[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=$t[o],$t[o]=r,r=null!=a(e,t,n)?o:null,$t[o]=i),r}}),/^(?:input|select|textarea|button)$/i),wt=/^(?:a|area)$/i;function O(e){return(e.match(C)||[]).join(" ")}function N(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(C)||[]}x.fn.extend({prop:function(e,t){return d(this,x.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(x.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0;if(y(t))return this.each(function(e){x(this).addClass(t.call(this,e,N(this)))});if((e=kt(t)).length)for(;n=this[s++];)if(a=N(n),r=1===n.nodeType&&" "+O(a)+" "){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(a=O(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0;if(y(t))return this.each(function(e){x(this).removeClass(t.call(this,e,N(this)))});if(!arguments.length)return this.attr("class","");if((e=kt(t)).length)for(;n=this[s++];)if(a=N(n),r=1===n.nodeType&&" "+O(a)+" "){for(o=0;i=e[o++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a!==(a=O(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i,a="string"==o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):y(i)?this.each(function(e){x(this).toggleClass(i.call(this,e,N(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=x(this),r=kt(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=N(this))&&b.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&b.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,r=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+O(N(t))+" ").indexOf(r))return!0;return!1}});function xt(e){e.stopPropagation()}var Ct=/\r/g,Bt=(x.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=y(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,x(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=x.map(e,function(e){return null==e?"":e+""})),(n=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(Ct,""):null==e?"":e:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:O(x.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s<a;s++)if(((t=n[s]).selected||s===r)&&!t.disabled&&(!t.parentNode.disabled||!u(t.parentNode,"optgroup"))){if(t=x(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=x.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<x.inArray(x.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<x.inArray(x(e).val(),t)}},m.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in w,/^(?:focusinfocus|focusoutblur)$/),At=(x.extend(x.event,{trigger:function(e,t,n,r){var i,o,a,s,u,c,l,d=[n||k],f=H.call(e,"type")?e.type:e,p=H.call(e,"namespace")?e.namespace.split("."):[],h=l=o=n=n||k;if(3!==n.nodeType&&8!==n.nodeType&&!Bt.test(f+x.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),s=f.indexOf(":")<0&&"on"+f,(e=e[x.expando]?e:new x.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),c=x.event.special[f]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!g(n)){for(a=c.delegateType||f,Bt.test(a+f)||(h=h.parentNode);h;h=h.parentNode)d.push(h),o=h;o===(n.ownerDocument||k)&&d.push(o.defaultView||o.parentWindow||w)}for(i=0;(h=d[i++])&&!e.isPropagationStopped();)l=h,e.type=1<i?a:c.bindType||f,(u=(b.get(h,"events")||Object.create(null))[e.type]&&b.get(h,"handle"))&&u.apply(h,t),(u=s&&h[s])&&u.apply&&v(h)&&(e.result=u.apply(h,t),!1===e.result&&e.preventDefault());return e.type=f,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!v(n)||s&&y(n[f])&&!g(n)&&((o=n[s])&&(n[s]=null),x.event.triggered=f,e.isPropagationStopped()&&l.addEventListener(f,xt),n[f](),e.isPropagationStopped()&&l.removeEventListener(f,xt),x.event.triggered=void 0,o&&(n[s]=o)),e.result}},simulate:function(e,t,n){n=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(n,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){x.event.simulate(r,e.target,x.event.fix(e))}x.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=b.access(e,r);t||e.addEventListener(n,i,!0),b.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=b.access(e,r)-1;t?b.access(e,r,t):(e.removeEventListener(n,i,!0),b.remove(e,r))}}}),w.location),Et={guid:Date.now()},St=/\?/,Pt=(x.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||x.error("Invalid XML: "+(n?x.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/\[\]$/),Tt=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;x.param=function(e,t){function n(e,t){t=y(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var r,i=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(Array.isArray(e))x.each(e,function(e,t){i||Pt.test(r)?o(r,t):n(r+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==h(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Mt.test(this.nodeName)&&!_t.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var Dt=/%20/g,Ot=/#.*$/,Nt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,It=/^\/\//,Lt={},Rt={},qt="*/".concat("*"),Ut=k.createElement("a");function Ht(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(C)||[];if(y(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,r,i,o){var a={},s=t===Rt;function u(e){var n;return a[e]=!0,x.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!a["*"]&&u("*")}function zt(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&x.extend(!0,e,r),e}Ut.href=At.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,x.ajaxSettings),t):zt(x.ajaxSettings,e)},ajaxPrefilter:Ht(Lt),ajaxTransport:Ht(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var u,c,l,n,d,f,p,r,h=x.ajaxSetup({},t=t||{}),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?x(g):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),$=h.statusCode||{},i={},o={},a="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(f){if(!n)for(n={};t=jt.exec(l);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?l:null},setRequestHeader:function(e,t){return null==f&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,i[e]=t),this},overrideMimeType:function(e){return null==f&&(h.mimeType=e),this},statusCode:function(e){if(e)if(f)b.always(e[b.status]);else for(var t in e)$[t]=[$[t],e[t]];return this},abort:function(e){e=e||a;return u&&u.abort(e),s(0,e),this}};if(v.promise(b),h.url=((e||h.url||At.href)+"").replace(It,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(C)||[""],null==h.crossDomain){e=k.createElement("a");try{e.href=h.url,e.href=e.href,h.crossDomain=Ut.protocol+"//"+Ut.host!=e.protocol+"//"+e.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),Vt(Lt,h,t,b),f)return b;for(r in(p=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),c=h.url.replace(Ot,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Dt,"+")):(e=h.url.slice(c.length),h.data&&(h.processData||"string"==typeof h.data)&&(c+=(St.test(c)?"&":"?")+h.data,delete h.data),!1===h.cache&&(c=c.replace(Nt,"$1"),e=(St.test(c)?"&":"?")+"_="+Et.guid+++e),h.url=c+e),h.ifModified&&(x.lastModified[c]&&b.setRequestHeader("If-Modified-Since",x.lastModified[c]),x.etag[c]&&b.setRequestHeader("If-None-Match",x.etag[c])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)b.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(g,b,h)||f))return b.abort();if(a="abort",y.add(h.complete),b.done(h.success),b.fail(h.error),u=Vt(Rt,h,t,b)){if(b.readyState=1,p&&m.trigger("ajaxSend",[b,h]),f)return b;h.async&&0<h.timeout&&(d=w.setTimeout(function(){b.abort("timeout")},h.timeout));try{f=!1,u.send(i,s)}catch(e){if(f)throw e;s(-1,e)}}else s(-1,"No Transport");function s(e,t,n,r){var i,o,a,s=t;f||(f=!0,d&&w.clearTimeout(d),u=void 0,l=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a=a||i}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,b,n)),!r&&-1<x.inArray("script",h.dataTypes)&&x.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),a=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,a,b,r),r?(h.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(x.lastModified[c]=n),(n=b.getResponseHeader("etag"))&&(x.etag[c]=n)),204===e||"HEAD"===h.type?s="nocontent":304===e?s="notmodified":(s=a.state,i=a.data,r=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),b.status=e,b.statusText=(t||s)+"",r?v.resolveWith(g,[i,s,b]):v.rejectWith(g,[b,s,o]),b.statusCode($),$=void 0,p&&m.trigger(r?"ajaxSuccess":"ajaxError",[b,h,r?i:o]),y.fireWith(g,[b,s]),p&&(m.trigger("ajaxComplete",[b,h]),--x.active||x.event.trigger("ajaxStop")))}return b},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,i){x[i]=function(e,t,n,r){return y(t)&&(r=r||n,n=t,t=void 0),x.ajax(x.extend({url:e,type:i,dataType:r,data:t,success:n},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return y(n)?this.each(function(e){x(this).wrapInner(n.call(this,e))}):this.each(function(){var e=x(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){x(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Gt=x.ajaxSettings.xhr(),Xt=(m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,x.ajaxTransport(function(i){var o,a;if(m.cors||Gt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Wt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&w.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=x("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),Zt=/(=)\?(?=&|$)|\?\?/,Kt=(x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||x.expando+"_"+Et.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||x.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?x(w).removeProp(r):w[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&y(i)&&i(o[0]),o=i=void 0}),"script"}),m.createHTMLDocument=((e=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,t.head.appendChild(r)):t=k),r=!n&&[],(n=J.exec(e))?[t.createElement(n[1])]:(n=Ae([e],t,r),r&&r.length&&x(r).remove(),x.merge([],n.childNodes)));var r},x.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=O(e.slice(s)),e=e.slice(0,s)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&x.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(e,t,n){var r,i,o,a,s=x.css(e,"position"),u=x(e),c={};"static"===s&&(e.style.position="relative"),o=u.offset(),r=x.css(e,"top"),a=x.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=u.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=y(t)?t.call(e,n,x.extend({},o)):t).top&&(c.top=t.top-o.top+i),null!=t.left&&(c.left=t.left-o.left+s),"using"in t?t.using.call(e,c):u.css(c)}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),i.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-x.css(r,"marginTop",!0),left:t.left-i.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||B})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;x.fn[t]=function(e){return d(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),x.each(["top","left"],function(e,n){x.cssHooks[n]=Qe(m.pixelPosition,function(e,t){if(t)return t=Ye(e,n),Xe.test(t)?x(e).position()[n]+"px":t})}),x.each({Height:"height",Width:"width"},function(a,s){x.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){x.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?x.css(e,t,i):x.style(e,t,n,i)},s,n?e:void 0,n)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){x.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g),Jt=(x.proxy=function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),y(e))return n=s.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(s.call(arguments)))}).guid=e.guid=e.guid||x.guid++,r},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=u,x.isFunction=y,x.isWindow=g,x.camelCase=$,x.type=h,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Kt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}),w.jQuery),Yt=w.$;return x.noConflict=function(e){return w.$===x&&(w.$=Yt),e&&w.jQuery===x&&(w.jQuery=Jt),x},void 0===j&&(w.jQuery=w.$=x),x}),function(e,t){var n,r;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(e="undefined"!=typeof globalThis?globalThis:e||self,n=e._,(r=e._=t()).noConflict=function(){return e._=n,r})}(this,function(){var e="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},r=Array.prototype,j=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,I=r.push,u=r.slice,d=j.toString,L=j.hasOwnProperty,t="undefined"!=typeof ArrayBuffer,n="undefined"!=typeof DataView,R=Array.isArray,q=Object.keys,U=Object.create,H=t&&ArrayBuffer.isView,V=isNaN,z=isFinite,W=!{toString:null}.propertyIsEnumerable("toString"),G=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],X=Math.pow(2,53)-1;function l(i,o){return o=null==o?i.length-1:+o,function(){for(var e=Math.max(arguments.length-o,0),t=Array(e),n=0;n<e;n++)t[n]=arguments[n+o];switch(o){case 0:return i.call(this,t);case 1:return i.call(this,arguments[0],t);case 2:return i.call(this,arguments[0],arguments[1],t)}for(var r=Array(o+1),n=0;n<o;n++)r[n]=arguments[n];return r[o]=t,i.apply(this,r)}}function o(e){var t=typeof e;return"function"==t||"object"==t&&!!e}function Z(e){return void 0===e}function K(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)}function i(e){var t="[object "+e+"]";return function(e){return d.call(e)===t}}var J=i("String"),Y=i("Number"),a=i("Date"),Q=i("RegExp"),ee=i("Error"),te=i("Symbol"),ne=i("ArrayBuffer"),s=i("Function"),e=e.document&&e.document.childNodes,f=s="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof e?function(e){return"function"==typeof e||!1}:s,e=i("Object"),re=n&&e(new DataView(new ArrayBuffer(8))),s="undefined"!=typeof Map&&e(new Map),n=i("DataView");var p=re?function(e){return null!=e&&f(e.getInt8)&&ne(e.buffer)}:n,h=R||i("Array");function g(e,t){return null!=e&&L.call(e,t)}var ie=i("Arguments"),oe=(!function(){ie(arguments)||(ie=function(e){return g(e,"callee")})}(),ie);function ae(e){return Y(e)&&V(e)}function se(e){return function(){return e}}function ue(t){return function(e){e=t(e);return"number"==typeof e&&0<=e&&e<=X}}function ce(t){return function(e){return null==e?void 0:e[t]}}var m=ce("byteLength"),le=ue(m),de=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var fe=t?function(e){return H?H(e)&&!p(e):le(e)&&de.test(d.call(e))}:se(!1),v=ce("length");function pe(e,t){t=function(t){for(var n={},e=t.length,r=0;r<e;++r)n[t[r]]=!0;return{contains:function(e){return n[e]},push:function(e){return n[e]=!0,t.push(e)}}}(t);var n=G.length,r=e.constructor,i=f(r)&&r.prototype||j,o="constructor";for(g(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=G[n])in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}function y(e){if(!o(e))return[];if(q)return q(e);var t,n=[];for(t in e)g(e,t)&&n.push(t);return W&&pe(e,n),n}function he(e,t){var n=y(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0}function $(e){return e instanceof $?e:this instanceof $?void(this._wrapped=e):new $(e)}function ge(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,m(e))}$.VERSION="1.13.1",$.prototype.valueOf=$.prototype.toJSON=$.prototype.value=function(){return this._wrapped},$.prototype.toString=function(){return String(this._wrapped)};var me="[object DataView]";function ve(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"==i||"object"==i||"object"==typeof t)&&function e(t,n,r,i){t instanceof $&&(t=t._wrapped);n instanceof $&&(n=n._wrapped);var o=d.call(t);if(o!==d.call(n))return!1;if(re&&"[object Object]"==o&&p(t)){if(!p(n))return!1;o=me}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":return+t!=+t?+n!=+n:0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(n);case"[object ArrayBuffer]":case me:return e(ge(t),ge(n),r,i)}o="[object Array]"===o;if(!o&&fe(t)){var a=m(t);if(a!==m(n))return!1;if(t.buffer===n.buffer&&t.byteOffset===n.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof n)return!1;var a=t.constructor,s=n.constructor;if(a!==s&&!(f(a)&&a instanceof a&&f(s)&&s instanceof s)&&"constructor"in t&&"constructor"in n)return!1}r=r||[];i=i||[];var u=r.length;for(;u--;)if(r[u]===t)return i[u]===n;r.push(t);i.push(n);if(o){if((u=t.length)!==n.length)return!1;for(;u--;)if(!ve(t[u],n[u],r,i))return!1}else{var c,l=y(t);if(u=l.length,y(n).length!==u)return!1;for(;u--;)if(c=l[u],!g(n,c)||!ve(t[c],n[c],r,i))return!1}r.pop();i.pop();return!0}(e,t,n,r)}function c(e){if(!o(e))return[];var t,n=[];for(t in e)n.push(t);return W&&pe(e,n),n}function ye(r){var i=v(r);return function(e){if(null==e)return!1;var t=c(e);if(v(t))return!1;for(var n=0;n<i;n++)if(!f(e[r[n]]))return!1;return r!==be||!f(e[$e])}}var $e="forEach",e=["clear","delete"],n=["get","has","set"],R=e.concat($e,n),be=e.concat(n),t=["add"].concat(e,$e,"has"),n=s?ye(R):i("Map"),e=s?ye(be):i("WeakMap"),R=s?ye(t):i("Set"),s=i("WeakSet");function b(e){for(var t=y(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}function we(e){for(var t={},n=y(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function ke(e){var t,n=[];for(t in e)f(e[t])&&n.push(t);return n.sort()}function xe(u,c){return function(e){var t=arguments.length;if(c&&(e=Object(e)),t<2||null==e)return e;for(var n=1;n<t;n++)for(var r=arguments[n],i=u(r),o=i.length,a=0;a<o;a++){var s=i[a];c&&void 0!==e[s]||(e[s]=r[s])}return e}}var Ce=xe(c),w=xe(y),Be=xe(c,!0);function Ae(e){if(!o(e))return{};if(U)return U(e);var t=function(){},e=(t.prototype=e,new t);return t.prototype=null,e}function Ee(e){return o(e)?h(e)?e.slice():Ce({},e):e}function Se(e){return h(e)?e:[e]}function k(e){return $.toPath(e)}function Pe(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Te(e,t,n){e=Pe(e,k(t));return Z(e)?n:e}function _e(e){return e}function x(t){return t=w({},t),function(e){return he(e,t)}}function Me(t){return t=k(t),function(e){return Pe(e,t)}}function C(i,o,e){if(void 0===o)return i;switch(null==e?3:e){case 1:return function(e){return i.call(o,e)};case 3:return function(e,t,n){return i.call(o,e,t,n)};case 4:return function(e,t,n,r){return i.call(o,e,t,n,r)}}return function(){return i.apply(o,arguments)}}function De(e,t,n){return null==e?_e:f(e)?C(e,t,n):(o(e)&&!h(e)?x:Me)(e)}function Oe(e,t){return De(e,t,1/0)}function B(e,t,n){return $.iteratee!==Oe?$.iteratee(e,t):De(e,t,n)}function Ne(){}function je(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}$.toPath=Se,$.iteratee=Oe;var A=Date.now||function(){return(new Date).getTime()};function Fe(t){function n(e){return t[e]}var e="(?:"+y(t).join("|")+")",r=RegExp(e),i=RegExp(e,"g");return function(e){return r.test(e=null==e?"":""+e)?e.replace(i,n):e}}var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Ie=Fe(t),t=Fe(we(t)),Le=$.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Re=/(.)^/,qe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ue=/\\|'|\r|\n|\u2028|\u2029/g;function He(e){return"\\"+qe[e]}var Ve=/^\s*(\w|\$)+\s*$/;var ze=0;function We(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);r=Ae(e.prototype),t=e.apply(r,i);return o(t)?t:r}var E=l(function(i,o){function a(){for(var e=0,t=o.length,n=Array(t),r=0;r<t;r++)n[r]=o[r]===s?arguments[e++]:o[r];for(;e<arguments.length;)n.push(arguments[e++]);return We(i,a,this,this,n)}var s=E.placeholder;return a}),Ge=(E.placeholder=$,l(function(t,n,r){if(!f(t))throw new TypeError("Bind must be called on a function");var i=l(function(e){return We(t,i,n,this,r.concat(e))});return i})),S=ue(v);function P(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var i=r.length,o=0,a=v(e);o<a;o++){var s=e[o];if(S(s)&&(h(s)||oe(s)))if(1<t)P(s,t-1,n,r),i=r.length;else for(var u=0,c=s.length;u<c;)r[i++]=s[u++];else n||(r[i++]=s)}return r}var Xe=l(function(e,t){var n=(t=P(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Ge(e[r],e)}return e});var Ze=l(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),Ke=E(Ze,$,1);function Je(e){return function(){return!e.apply(this,arguments)}}function Ye(e,t){var n;return function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var Qe=E(Ye,2);function et(e,t,n){t=B(t,n);for(var r,i=y(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r}function tt(o){return function(e,t,n){t=B(t,n);for(var r=v(e),i=0<o?0:r-1;0<=i&&i<r;i+=o)if(t(e[i],i,e))return i;return-1}}var nt=tt(1),rt=tt(-1);function it(e,t,n,r){for(var i=(n=B(n,r,1))(t),o=0,a=v(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o}function ot(o,a,s){return function(e,t,n){var r=0,i=v(e);if("number"==typeof n)0<o?r=0<=n?n:Math.max(n+i,r):i=0<=n?Math.min(n+1,i):n+i+1;else if(s&&n&&i)return e[n=s(e,t)]===t?n:-1;if(t!=t)return 0<=(n=a(u.call(e,r,i),ae))?n+r:-1;for(n=0<o?r:i-1;0<=n&&n<i;n+=o)if(e[n]===t)return n;return-1}}var at=ot(1,nt,it),st=ot(-1,rt);function ut(e,t,n){t=(S(e)?nt:et)(e,t,n);if(void 0!==t&&-1!==t)return e[t]}function T(e,t,n){if(t=C(t,n),S(e))for(i=0,o=e.length;i<o;i++)t(e[i],i,e);else for(var r=y(e),i=0,o=r.length;i<o;i++)t(e[r[i]],r[i],e);return e}function _(e,t,n){t=B(t,n);for(var r=!S(e)&&y(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o}function ct(f){return function(e,t,n,r){var i=3<=arguments.length,o=e,a=C(t,r,4),s=n,u=!S(o)&&y(o),c=(u||o).length,l=0<f?0:c-1;for(i||(s=o[u?u[l]:l],l+=f);0<=l&&l<c;l+=f){var d=u?u[l]:l;s=a(s,o[d],d,o)}return s}}var lt=ct(1),dt=ct(-1);function M(e,r,t){var i=[];return r=B(r,t),T(e,function(e,t,n){r(e,t,n)&&i.push(e)}),i}function ft(e,t,n){t=B(t,n);for(var r=!S(e)&&y(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0}function pt(e,t,n){t=B(t,n);for(var r=!S(e)&&y(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1}function D(e,t,n,r){return S(e)||(e=b(e)),0<=at(e,t,n="number"==typeof n&&!r?n:0)}var ht=l(function(e,n,r){var i,o;return f(n)?o=n:(n=k(n),i=n.slice(0,-1),n=n[n.length-1]),_(e,function(e){var t=o;if(!t){if(null==(e=i&&i.length?Pe(e,i):e))return;t=e[n]}return null==t?t:t.apply(e,r)})});function gt(e,t){return _(e,Me(t))}function mt(e,r,t){var n,i,o=-1/0,a=-1/0;if(null==r||"number"==typeof r&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=S(e)?e:b(e)).length;s<u;s++)null!=(n=e[s])&&o<n&&(o=n);else r=B(r,t),T(e,function(e,t,n){i=r(e,t,n),(a<i||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o}function vt(e,t,n){if(null==t||n)return(e=S(e)?e:b(e))[je(e.length-1)];for(var r=(S(e)?Ee:b)(e),n=v(r),i=(t=Math.max(Math.min(t,n),0),n-1),o=0;o<t;o++){var a=je(o,i),s=r[o];r[o]=r[a],r[a]=s}return r.slice(0,t)}function O(o,t){return function(n,r,e){var i=t?[[],[]]:{};return r=B(r,e),T(n,function(e,t){t=r(e,t,n);o(i,e,t)}),i}}var yt=O(function(e,t,n){g(e,n)?e[n].push(t):e[n]=[t]}),$t=O(function(e,t,n){e[n]=t}),bt=O(function(e,t,n){g(e,n)?e[n]++:e[n]=1}),wt=O(function(e,t,n){e[n?0:1].push(t)},!0),kt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function xt(e,t,n){return t in n}var Ct=l(function(e,t){var n={},r=t[0];if(null==e)return n;f(r)?(1<t.length&&(r=C(r,t[1])),t=c(e)):(r=xt,t=P(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),Bt=l(function(e,n){var t,r=n[0];return f(r)?(r=Je(r),1<n.length&&(t=n[1])):(n=_(P(n,!1,!1),String),r=function(e,t){return!D(n,t)}),Ct(e,r,t)});function At(e,t,n){return u.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Et(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:At(e,e.length-t)}function N(e,t,n){return u.call(e,null==t||n?1:t)}var St=l(function(e,t){return t=P(t,!0,!0),M(e,function(e){return!D(t,e)})}),Pt=l(function(e,t){return St(e,t)});function Tt(e,t,n,r){K(t)||(r=n,n=t,t=!1),null!=n&&(n=B(n,r));for(var i=[],o=[],a=0,s=v(e);a<s;a++){var u=e[a],c=n?n(u,a,e):u;t&&!n?(a&&o===c||i.push(u),o=c):n?D(o,c)||(o.push(c),i.push(u)):D(i,u)||i.push(u)}return i}var _t=l(function(e){return Tt(P(e,!0,!0))});function Mt(e){for(var t=e&&mt(e,v).length||0,n=Array(t),r=0;r<t;r++)n[r]=gt(e,r);return n}var Dt=l(Mt);function Ot(e,t){return e._chain?$(t).chain():t}function Nt(n){return T(ke(n),function(e){var t=$[e]=n[e];$.prototype[e]=function(){var e=[this._wrapped];return I.apply(e,arguments),Ot(this,t.apply($,e))}}),$}T(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var n=r[t];$.prototype[t]=function(){var e=this._wrapped;return null!=e&&(n.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0]),Ot(this,e)}}),T(["concat","join","slice"],function(e){var t=r[e];$.prototype[e]=function(){var e=this._wrapped;return Ot(this,e=null!=e?t.apply(e,arguments):e)}});a=Nt({__proto__:null,VERSION:"1.13.1",restArguments:l,isObject:o,isNull:function(e){return null===e},isUndefined:Z,isBoolean:K,isElement:function(e){return!(!e||1!==e.nodeType)},isString:J,isNumber:Y,isDate:a,isRegExp:Q,isError:ee,isSymbol:te,isArrayBuffer:ne,isDataView:p,isArray:h,isFunction:f,isArguments:oe,isFinite:function(e){return!te(e)&&z(e)&&!isNaN(parseFloat(e))},isNaN:ae,isTypedArray:fe,isEmpty:function(e){if(null==e)return!0;var t=v(e);return"number"==typeof t&&(h(e)||J(e)||oe(e))?0===t:0===v(y(e))},isMatch:he,isEqual:function(e,t){return ve(e,t)},isMap:n,isWeakMap:e,isSet:R,isWeakSet:s,keys:y,allKeys:c,values:b,pairs:function(e){for(var t=y(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},invert:we,functions:ke,methods:ke,extend:Ce,extendOwn:w,assign:w,defaults:Be,create:function(e,t){return e=Ae(e),t&&w(e,t),e},clone:Ee,tap:function(e,t){return t(e),e},get:Te,has:function(e,t){for(var n=(t=k(t)).length,r=0;r<n;r++){var i=t[r];if(!g(e,i))return!1;e=e[i]}return!!n},mapObject:function(e,t,n){t=B(t,n);for(var r=y(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},identity:_e,constant:se,noop:Ne,toPath:Se,property:Me,propertyOf:function(t){return null==t?Ne:function(e){return Te(t,e)}},matcher:x,matches:x,times:function(e,t,n){var r=Array(Math.max(0,e));t=C(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},random:je,now:A,escape:Ie,unescape:t,templateSettings:Le,template:function(o,e,t){e=Be({},e=!e&&t?t:e,$.templateSettings);var n,t=RegExp([(e.escape||Re).source,(e.interpolate||Re).source,(e.evaluate||Re).source].join("|")+"|$","g"),a=0,s="__p+='";if(o.replace(t,function(e,t,n,r,i){return s+=o.slice(a,i).replace(Ue,He),a=i+e.length,t?s+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":r&&(s+="';\n"+r+"\n__p+='"),e}),s+="';\n",t=e.variable){if(!Ve.test(t))throw new Error("variable is not a bare identifier: "+t)}else s="with(obj||{}){\n"+s+"}\n",t="obj";s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{n=new Function(t,"_",s)}catch(e){throw e.source=s,e}function r(e){return n.call(this,e,$)}return r.source="function("+t+"){\n"+s+"}",r},result:function(e,t,n){var r=(t=k(t)).length;if(!r)return f(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=f(o)?o.call(e):o}return e},uniqueId:function(e){var t=++ze+"";return e?e+t:t},chain:function(e){return(e=$(e))._chain=!0,e},iteratee:Oe,partial:E,bind:Ge,bindAll:Xe,memoize:function(r,i){function o(e){var t=o.cache,n=""+(i?i.apply(this,arguments):e);return g(t,n)||(t[n]=r.apply(this,arguments)),t[n]}return o.cache={},o},delay:Ze,defer:Ke,throttle:function(n,r,i){function o(){l=!1===i.leading?0:A(),a=null,c=n.apply(s,u),a||(s=u=null)}function e(){var e=A(),t=(l||!1!==i.leading||(l=e),r-(e-l));return s=this,u=arguments,t<=0||r<t?(a&&(clearTimeout(a),a=null),l=e,c=n.apply(s,u),a||(s=u=null)):a||!1===i.trailing||(a=setTimeout(o,t)),c}var a,s,u,c,l=0;return i=i||{},e.cancel=function(){clearTimeout(a),l=0,a=s=u=null},e},debounce:function(t,n,r){function i(){var e=A()-a;e<n?o=setTimeout(i,n-e):(o=null,r||(u=t.apply(c,s)),o||(s=c=null))}var o,a,s,u,c,e=l(function(e){return c=this,s=e,a=A(),o||(o=setTimeout(i,n),r&&(u=t.apply(c,s))),u});return e.cancel=function(){clearTimeout(o),o=s=c=null},e},wrap:function(e,t){return E(t,e)},negate:Je,compose:function(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:Ye,once:Qe,findKey:et,findIndex:nt,findLastIndex:rt,sortedIndex:it,indexOf:at,lastIndexOf:st,find:ut,detect:ut,findWhere:function(e,t){return ut(e,x(t))},each:T,forEach:T,map:_,collect:_,reduce:lt,foldl:lt,inject:lt,reduceRight:dt,foldr:dt,filter:M,select:M,reject:function(e,t,n){return M(e,Je(B(t)),n)},every:ft,all:ft,some:pt,any:pt,contains:D,includes:D,include:D,invoke:ht,pluck:gt,where:function(e,t){return M(e,x(t))},max:mt,min:function(e,r,t){var n,i,o=1/0,a=1/0;if(null==r||"number"==typeof r&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=S(e)?e:b(e)).length;s<u;s++)null!=(n=e[s])&&n<o&&(o=n);else r=B(r,t),T(e,function(e,t,n){((i=r(e,t,n))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},shuffle:function(e){return vt(e,1/0)},sample:vt,sortBy:function(e,r,t){var i=0;return r=B(r,t),gt(_(e,function(e,t,n){return{value:e,index:i++,criteria:r(e,t,n)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(r<n||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")},groupBy:yt,indexBy:$t,countBy:bt,partition:wt,toArray:function(e){return e?h(e)?u.call(e):J(e)?e.match(kt):S(e)?_(e,_e):b(e):[]},size:function(e){return null==e?0:(S(e)?e:y(e)).length},pick:Ct,omit:Bt,first:Et,head:Et,take:Et,initial:At,last:function(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:N(e,Math.max(0,e.length-t))},rest:N,tail:N,drop:N,compact:function(e){return M(e,Boolean)},flatten:function(e,t){return P(e,t,!1)},without:Pt,uniq:Tt,unique:Tt,union:_t,intersection:function(e){for(var t=[],n=arguments.length,r=0,i=v(e);r<i;r++){var o=e[r];if(!D(t,o)){for(var a=1;a<n&&D(arguments[a],o);a++);a===n&&t.push(o)}}return t},difference:St,unzip:Mt,transpose:Mt,zip:Dt,object:function(e,t){for(var n={},r=0,i=v(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},range:function(e,t,n){null==t&&(t=e||0,e=0),n=n||(t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},chunk:function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(u.call(e,r,r+=t));return n},mixin:Nt,default:$});return a._=a}),function($e){"use strict";var l={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!Be(e))return l;T(e.objectMaxDepth)&&(l.objectMaxDepth=d(e.objectMaxDepth)?e.objectMaxDepth:NaN),T(e.urlErrorParamsEnabled)&&Le(e.urlErrorParamsEnabled)&&(l.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function d(e){return b(e)&&0<e}function x(a,s){s=s||Error;var u="https://errors.angularjs.org/1.8.2/",e=u.replace(".","\\.")+"[\\s\\S]*",c=new RegExp(e,"g");return function(){var e,t,n=arguments[0],r=arguments[1],i="["+(a?a+":":"")+n+"] ",o=He(arguments,2).map(function(e){return nt(e,l.objectMaxDepth)}),i=(i+=r.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1);return t<o.length?o[t].replace(c,""):e}))+("\n"+u+(a?a+"/":"")+n);if(l.urlErrorParamsEnabled)for(t=0,e="?";t<o.length;t++,e="&")i+=e+"p"+t+"="+encodeURIComponent(o[t]);return new s(i)}}var be,m,p=/^\/(.+)\/([a-z]*)$/,g="validity",we=Object.prototype.hasOwnProperty,E=function(e){return Ae(e)?e.toLowerCase():e},B=function(e){return Ae(e)?e.toUpperCase():e},a=[].slice,r=[].splice,i=[].push,v=Object.prototype.toString,w=Object.getPrototypeOf,M=x("ng"),$=$e.angular||($e.angular={}),D=0;function N(e){if(null!=e&&!V(e)){if(Ee(e)||Ae(e)||be&&e instanceof be)return 1;var t="length"in Object(e)&&e.length;return b(t)&&(0<=t&&t-1 in e||"function"==typeof e.item)}}function ke(e,t,n){if(e)if(Se(e))for(i in e)"prototype"!==i&&"length"!==i&&"name"!==i&&e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else if(Ee(e)||N(e))for(var r="object"!=typeof e,i=0,o=e.length;i<o;i++)(r||i in e)&&t.call(n,e[i],i,e);else if(e.forEach&&e.forEach!==ke)e.forEach(t,n,e);else if(U(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)we.call(e,i)&&t.call(n,e[i],i,e);return e}function O(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i])}function j(n){return function(e,t){n(t,e)}}function F(){return++D}function I(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function L(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(Be(a)||Se(a))for(var s=Object.keys(a),u=0,c=s.length;u<c;u++){var l=s[u],d=a[l];n&&Be(d)?k(d)?e[l]=new Date(d.valueOf()):H(d)?e[l]=new RegExp(d):d.nodeName?e[l]=d.cloneNode(!0):X(d)?e[l]=d.clone():"__proto__"!==l&&(Be(e[l])||(e[l]=Ee(d)?[]:{}),L(e[l],[d],!0)):e[l]=d}}return I(e,r),e}function xe(e){return L(e,a.call(arguments,1),!1)}function R(e){return L(e,a.call(arguments,1),!0)}function y(e){return parseInt(e,10)}var Oe=$e.document.documentMode,S=Number.isNaN||function(e){return e!=e};function Ne(e,t){return xe(Object.create(e),t)}function P(){}function je(e){return e}function A(e){return function(){return e}}function q(e){return Se(e.toString)&&e.toString!==v}function Ce(e){return void 0===e}function T(e){return void 0!==e}function Be(e){return null!==e&&"object"==typeof e}function U(e){return null!==e&&"object"==typeof e&&!w(e)}function Ae(e){return"string"==typeof e}function b(e){return"number"==typeof e}function k(e){return"[object Date]"===v.call(e)}function Ee(e){return Array.isArray(e)||e instanceof Array}function Fe(e){switch(v.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return 1;default:return e instanceof Error}}function Se(e){return"function"==typeof e}function H(e){return"[object RegExp]"===v.call(e)}function V(e){return e&&e.window===e}function Ie(e){return e&&e.$evalAsync&&e.$watch}function Le(e){return"boolean"==typeof e}function z(e){return e&&Se(e.then)}P.$inject=[],je.$inject=[];var W=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var Pe=function(e){return Ae(e)?e.trim():e},G=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function X(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function Re(e){return E(e.nodeName||e[0]&&e[0].nodeName)}function Z(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function qe(e,t){t=e.indexOf(t);return 0<=t&&e.splice(t,1),t}function K(e,n,t){var r,i=[],o=[];if(t=d(t)?t:NaN,n){if((r=n)&&b(r.length)&&W.test(v.call(r))||"[object ArrayBuffer]"===v.call(n))throw M("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===n)throw M("cpi","Can't copy! Source and destination are identical.");return Ee(n)?n.length=0:ke(n,function(e,t){"$$hashKey"!==t&&delete n[t]}),i.push(e),o.push(n),a(e,n,t)}return s(e,t);function a(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(Ee(e))for(var o=0,a=e.length;o<a;o++)t.push(s(e[o],n));else if(U(e))for(r in e)t[r]=s(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=s(e[r],n));else for(r in e)we.call(e,r)&&(t[r]=s(e[r],n));return I(t,i),t}function s(e,t){if(!Be(e))return e;var n=i.indexOf(e);if(-1!==n)return o[n];if(V(e)||Ie(e))throw M("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var n=!1,r=function(e){switch(v.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":return e.slice?e.slice(0):(t=new ArrayBuffer(e.byteLength),new Uint8Array(t).set(new Uint8Array(e)),t);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var t=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return t.lastIndex=e.lastIndex,t;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(Se(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===r&&(r=Ee(e)?[]:Object.create(w(e)),n=!0),i.push(e),o.push(r),n?a(e,r,t):r}}function Ue(e,t){return e===t||e!=e&&t!=t}function Te(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!Ee(e)){if(k(e))return!!k(t)&&Ue(e.getTime(),t.getTime());if(H(e))return!!H(t)&&e.toString()===t.toString();if(Ie(e)||Ie(t)||V(e)||V(t)||Ee(t)||k(t)||H(t))return!1;for(r in i=_e(),e)if("$"!==r.charAt(0)&&!Se(e[r])){if(!Te(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&T(t[r])&&!Se(t[r]))return!1;return!0}if(!Ee(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!Te(e[r],t[r]))return!1;return!0}}return!1}var J=function(){var e;return T(J.rules)||((e=$e.document.querySelector("[ng-csp]")||$e.document.querySelector("[data-ng-csp]"))?(e=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp"),J.rules={noUnsafeEval:!e||-1!==e.indexOf("no-unsafe-eval"),noInlineStyle:!e||-1!==e.indexOf("no-inline-style")}):J.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}),J.rules},Y=function(){if(T(Y.name_))return Y.name_;for(var e,t,n,r=le.length,i=0;i<r;++i)if(t=le[i],e=$e.document.querySelector("["+t.replace(":","\\:")+"jq]")){n=e.getAttribute(t+"jq");break}return Y.name_=n};function Q(e,t,n){return e.concat(a.call(t,n))}function He(e,t){return a.call(e,t||0)}function Ve(e,t){var n=2<arguments.length?He(arguments,2):[];return!Se(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,Q(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function ee(e,t){var n=t;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?n=void 0:V(t)?n="$WINDOW":t&&$e.document===t?n="$DOCUMENT":Ie(t)&&(n="$SCOPE"),n}function te(e,t){if(!Ce(e))return b(t)||(t=t?2:null),JSON.stringify(e,ee,t)}function ne(e){return Ae(e)?JSON.parse(e):e}var re=/:/g;function ie(e,t){e=e.replace(re,"");e=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return S(e)?t:e}function oe(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function ae(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return oe(e,n*(ie(t,r)-r))}function ze(e){e=be(e).clone().empty();var t=be("<div></div>").append(e).html();try{return e[0].nodeType===Ye?E(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+E(t)})}catch(e){return E(t)}}function se(e){try{return decodeURIComponent(e)}catch(e){}}function ue(e){var i={};return ke((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),T(n=se(n))&&(r=!T(r)||se(r),we.call(i,n)?Ee(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r))}),i}function ce(e){return o(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function o(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var le=["ng-","data-ng-","ng:","x-ng-"];var de;de=$e.document,(me=de.currentScript)&&(me instanceof $e.HTMLScriptElement||me instanceof $e.SVGScriptElement)&&[(me=me.attributes).getNamedItem("src"),me.getNamedItem("href"),me.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var t=de.createElement("a");if(t.href=e.value,de.location.origin===t.origin)return!0;switch(t.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}});function fe(t,n,r){function i(){if((t=be(t)).injector())throw e=t[0]===$e.document?"document":ze(t),M("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"));(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var e=fn(n,r.strictDi);return e.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),e}r=xe({strictDi:!1},r=Be(r)?r:{});var e=/^NG_ENABLE_DEBUG_INFO!/,o=/^NG_DEFER_BOOTSTRAP!/;if($e&&e.test($e.name)&&(r.debugInfoEnabled=!0,$e.name=$e.name.replace(e,"")),$e&&!o.test($e.name))return i();$e.name=$e.name.replace(o,""),$.resumeBootstrap=function(e){return ke(e,function(e){n.push(e)}),i()},Se($.resumeDeferredBootstrap)&&$.resumeDeferredBootstrap()}function pe(){$e.name="NG_ENABLE_DEBUG_INFO!"+$e.name,$e.location.reload()}function he(e){e=$.element(e).injector();if(e)return e.get("$$testability");throw M("test","no injector found for element argument to getTestability")}var ge=/[A-Z]/g;function We(e,n){return n=n||"_",e.replace(ge,function(e,t){return(t?n:"")+e.toLowerCase()})}var me=!1;function ve(){s.legacyXHTMLReplacement=!0}function Ge(e,t,n){if(!e)throw M("areq","Argument '{0}' is {1}",t||"?",n||"required")}function ye(e,t,n){Ge(Se(e=n&&Ee(e)?e[e.length-1]:e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e))}function Xe(e,t){if("hasOwnProperty"===e)throw M("badname","hasOwnProperty is not a valid {0} name",t)}function Ze(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)!t&&e[i]===n||(t=t||be(a.call(e,0,i))).push(n);return t||e}function _e(){return Object.create(null)}function Ke(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!q(e)||Ee(e)||k(e)?te(e):e.toString()}return e}var Je=1,Ye=3,Qe=8,et=9;function tt(e){var d=x("$injector"),f=x("ng");function n(e,t,n){return e[t]||(e[t]=n())}e=n(e,"angular",Object);return e.$$minErr=e.$$minErr||x,n(e,"module",function(){var t={};return function(s,u,c){var l={},e="module";if("hasOwnProperty"===s)throw f("badname","hasOwnProperty is not a valid {0} name",e);return u&&t.hasOwnProperty(s)&&(t[s]=null),n(t,s,function(){if(!u)throw d("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",s);var o=[],e=[],t=[],n=r("$injector","invoke","push",e),a={_invokeQueue:o,_configBlocks:e,_runBlocks:t,info:function(e){if(T(e)){if(Be(e))return l=e,this;throw f("aobj","Argument '{0}' must be an object","value")}return l},requires:u,name:s,provider:i("$provide","provider"),factory:i("$provide","factory"),service:i("$provide","service"),value:r("$provide","value"),constant:r("$provide","constant","unshift"),decorator:i("$provide","decorator",e),animation:i("$animateProvider","register"),filter:i("$filterProvider","register"),controller:i("$controllerProvider","register"),directive:i("$compileProvider","directive"),component:i("$compileProvider","component"),config:n,run:function(e){return t.push(e),this}};return c&&n(c),a;function r(e,t,n,r){return r=r||o,function(){return r[n||"push"]([e,t,arguments]),a}}function i(n,r,i){return i=i||o,function(e,t){return t&&Se(t)&&(t.$$moduleName=s),i.push([n,r,arguments]),a}}})}})}function C(e,t){if(Ee(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(Be(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function nt(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):Ce(e)?"undefined":"string"!=typeof e?(n=e,r=[],d(t=t)&&(n=$.copy(n,null,t)),JSON.stringify(n,function(e,t){if(Be(t=ee(e,t))){if(0<=r.indexOf(t))return"...";r.push(t)}return t})):e;var n,r}var rt={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};s.expando="ng339";var it=s.cache={},ot=1;s._data=function(e){return this.cache[e[this.expando]]||{}};var at=/-([a-z])/g,st=/^-ms-/,ut={mouseleave:"mouseout",mouseenter:"mouseover"},ct=x("jqLite");function lt(e,t){return t.toUpperCase()}function dt(e){return e.replace(at,lt)}var ft,pt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ht=/<|&#?\w+;/,gt=/<([\w:-]+)/,mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,vt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]},yt=(vt.tbody=vt.tfoot=vt.colgroup=vt.caption=vt.thead,vt.th=vt.td,{option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]});for(ft in vt){var $t=vt[ft],bt=$t.slice().reverse();yt[ft]=[bt.length,"<"+bt.join("><")+">","</"+$t.join("></")+">"]}function wt(e){return!ht.test(e)}function kt(e){e=e.nodeType;return e===Je||!e||e===et}function xt(e,t){var n,r,i,o=t.createDocumentFragment(),a=[];if(wt(e))a.push(t.createTextNode(e));else{if(n=o.appendChild(t.createElement("div")),t=(gt.exec(e)||["",""])[1].toLowerCase(),e=s.legacyXHTMLReplacement?e.replace(mt,"<$1></$2>"):e,Oe<10)for(r=yt[t]||yt._default,n.innerHTML=r[1]+e+r[2],i=r[0];i--;)n=n.firstChild;else{for(i=(r=vt[t]||[]).length;-1<--i;)n.appendChild($e.document.createElement(r[i])),n=n.firstChild;n.innerHTML=e}a=Q(a,n.childNodes),(n=o.firstChild).textContent=""}return o.textContent="",o.innerHTML="",ke(a,function(e){o.appendChild(e)}),o}yt.optgroup=yt.option;var Ct=$e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function s(e){if(e instanceof s)return e;var t,n,r;if(Ae(e)&&(e=Pe(e),t=!0),!(this instanceof s)){if(t&&"<"!==e.charAt(0))throw ct("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new s(e)}t?jt(this,(t=e,n=n||$e.document,(r=pt.exec(t))?[n.createElement(r[1])]:(r=xt(t,n))?r.childNodes:[])):Se(e)?qt(e):jt(this,e)}function Bt(e){return e.cloneNode(!0)}function At(e,t){!t&&kt(e)&&be.cleanData([e]),e.querySelectorAll&&be.cleanData(e.querySelectorAll("*"))}function Et(e){for(var t in e)return;return 1}function St(e){var t=e.ng339,n=t&&it[t],r=n&&n.events,n=n&&n.data;n&&!Et(n)||r&&!Et(r)||(delete it[t],e.ng339=void 0)}function Pt(n,e,r,t){if(T(t))throw ct("offargs","jqLite#off() does not support the `selector` argument");var t=_t(n),i=t&&t.events,o=t&&t.handle;if(o){if(e){var a=function(e){var t=i[e];T(r)&&qe(t||[],r),T(r)&&t&&0<t.length||(n.removeEventListener(e,o),delete i[e])};ke(e.split(" "),function(e){a(e),ut[e]&&a(ut[e])})}else for(e in i)"$destroy"!==e&&n.removeEventListener(e,o),delete i[e];St(n)}}function Tt(e,t){var n=e.ng339,n=n&&it[n];n&&(t?delete n.data[t]:n.data={},St(e))}function _t(e,t){var n=e.ng339,r=n&&it[n];return t&&!r&&(e.ng339=n=++ot,r=it[n]={events:{},data:{},handle:void 0}),r}function Mt(e,t,n){if(kt(e)){var r,i=T(n),o=!i&&t&&!Be(t),a=!t,e=_t(e,!o),s=e&&e.data;if(i)s[dt(t)]=n;else{if(a)return s;if(o)return s&&s[dt(t)];for(r in t)s[dt(r)]=t[r]}}}function Dt(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function Ot(e,t){var n,r;t&&e.setAttribute&&(n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n,ke(t.split(" "),function(e){e=Pe(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",Pe(r)))}function Nt(e,t){var n,r;t&&e.setAttribute&&(n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n,ke(t.split(" "),function(e){e=Pe(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",Pe(r)))}function jt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ft(e,t){return It(e,"$"+(t||"ngController")+"Controller")}function It(e,t,n){e.nodeType===et&&(e=e.documentElement);for(var r=Ee(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(T(n=be.data(e,r[i])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function Lt(e){for(At(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Rt(e,t){t||At(e);t=e.parentNode;t&&t.removeChild(e)}function qt(e){function t(){$e.document.removeEventListener("DOMContentLoaded",t),$e.removeEventListener("load",t),e()}"complete"===$e.document.readyState?$e.setTimeout(e):($e.document.addEventListener("DOMContentLoaded",t),$e.addEventListener("load",t))}var Ut=s.prototype={ready:qt,toString:function(){var t=[];return ke(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return be(0<=e?this[e]:this[this.length+e])},length:0,push:i,sort:[].sort,splice:[].splice},Ht={},Vt=(ke("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ht[E(e)]=e}),{}),zt=(ke("input,select,option,textarea,button,form,details".split(","),function(e){Vt[e]=!0}),{ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"});function Wt(e,t){t=Ht[t.toLowerCase()];return t&&Vt[Re(e)]&&t}function Gt(e,t){var n;if(Ce(t))return(n=e.nodeType)===Je||n===Ye?e.textContent:"";e.textContent=t}function Xt(s,u){function e(e,t){e.isDefaultPrevented=function(){return e.defaultPrevented};var n=u[t||e.type],r=n?n.length:0;if(r){Ce(e.immediatePropagationStopped)&&(i=e.stopImmediatePropagation,e.stopImmediatePropagation=function(){e.immediatePropagationStopped=!0,e.stopPropagation&&e.stopPropagation(),i&&i.call(e)}),e.isImmediatePropagationStopped=function(){return!0===e.immediatePropagationStopped};var i,o=n.specialHandlerWrapper||Zt;1<r&&(n=C(n));for(var a=0;a<r;a++)e.isImmediatePropagationStopped()||o(s,e,n[a])}}return e.elem=s,e}function Zt(e,t,n){n.call(e,t)}function Kt(e,t,n){var r=t.relatedTarget;r&&(r===e||Ct.call(e,r))||n.call(e,t)}function Jt(){this.$get=function(){return xe(s,{hasClass:function(e,t){return Dt(e=e.attr?e[0]:e,t)},addClass:function(e,t){return Nt(e=e.attr?e[0]:e,t)},removeClass:function(e,t){return Ot(e=e.attr?e[0]:e,t)}})}}function Yt(e,t){var n=e&&e.$$hashKey;if(n)return n="function"==typeof n?e.$$hashKey():n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||F)():r+":"+e}ke({data:Mt,removeData:Tt,hasData:function(e){for(var t in it[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)Tt(e[t]),Pt(e[t])}},function(e,t){s[t]=e}),ke({data:Mt,inheritedData:It,scope:function(e){return be.data(e,"$scope")||It(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return be.data(e,"$isolateScope")||be.data(e,"$isolateScopeNoTemplate")},controller:Ft,injector:function(e){return It(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Dt,css:function(e,t,n){if(t=dt(t.replace(st,"ms-")),!T(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Ye&&2!==i&&i!==Qe&&e.getAttribute)return i=E(t),r=Ht[i],T(n)?void(null===n||!1===n&&r?e.removeAttribute(t):e.setAttribute(t,r?i:n)):(n=e.getAttribute(t),null===(n=r&&null!==n?i:n)?void 0:n)},prop:function(e,t,n){if(!T(n))return e[t];e[t]=n},text:(Gt.$dv="",Gt),val:function(e,t){var n;if(Ce(t))return e.multiple&&"select"===Re(e)?(n=[],ke(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n):e.value;e.value=t},html:function(e,t){if(Ce(t))return e.innerHTML;At(e,!0),e.innerHTML=t},empty:Lt},function(c,e){s.prototype[e]=function(e,t){var n,r,i=this.length;if(c!==Lt&&Ce(2===c.length&&c!==Dt&&c!==Ft?e:t)){if(Be(e)){for(n=0;n<i;n++)if(c===Mt)c(this[n],e);else for(r in e)c(this[n],r,e[r]);return this}for(var o=Ce(u=c.$dv)?Math.min(i,1):i,a=0;a<o;a++)var s=c(this[a],e,t),u=u?u+s:s;return u}for(n=0;n<i;n++)c(this[n],e,t);return this}}),ke({removeData:Tt,on:function(i,e,o,t){if(T(t))throw ct("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(kt(i))for(var t=_t(i,!0),a=t.events,s=(s=t.handle)||(t.handle=Xt(i,a)),n=0<=e.indexOf(" ")?e.split(" "):[e],r=n.length,u=function(e,t,n){var r=a[e];r||((r=a[e]=[]).specialHandlerWrapper=t,"$destroy"===e||n||i.addEventListener(e,s)),r.push(o)};r--;)e=n[r],ut[e]?(u(ut[e],Kt),u(e,void 0,!0)):u(e)},off:Pt,one:function(t,n,r){(t=be(t)).on(n,function e(){t.off(n,r),t.off(n,e)}),t.on(n,r)},replaceWith:function(t,e){var n,r=t.parentNode;At(t),ke(new s(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(e){var t=[];return ke(e.childNodes,function(e){e.nodeType===Je&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Je||11===n)for(var r=0,i=(t=new s(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(t,e){var n;t.nodeType===Je&&(n=t.firstChild,ke(new s(e),function(e){t.insertBefore(e,n)}))},wrap:function(e,t){var n;e=e,t=be(t).eq(0).clone()[0],(n=e.parentNode)&&n.replaceChild(t,e),t.appendChild(e)},remove:Rt,detach:function(e){Rt(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,o=(t=new s(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Nt,removeClass:Ot,toggleClass:function(n,e,r){e&&ke(e.split(" "),function(e){var t=r;((t=Ce(r)?!Dt(n,e):t)?Nt:Ot)(n,e)})},parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Bt,triggerHandler:function(t,e,n){var r,i,o=e.type||e,a=_t(t),a=a&&a.events,a=a&&a[o];a&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:P,type:o,target:t},e.type&&(r=xe(r,e)),o=C(a),i=n?[r].concat(n):[r],ke(o,function(e){r.isImmediatePropagationStopped()||e.apply(t,i)}))}},function(a,e){s.prototype[e]=function(e,t,n){for(var r,i=0,o=this.length;i<o;i++)Ce(r)?T(r=a(this[i],e,t,n))&&(r=be(r)):jt(r,a(this[i],e,t,n));return T(r)?r:this}}),s.prototype.bind=s.prototype.on,s.prototype.unbind=s.prototype.off;var Qt=Object.create(null);function en(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}en.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return S(e)?Qt:e},get:function(e){e=this._transformKey(e);e=this._idx(e);if(-1!==e)return this._values[e]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);e=this._idx(e);return-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var tn=en,nn=[function(){this.$get=[function(){return tn}]}],rn=/^([^(]+?)=>/,on=/^[^(]*\(\s*([^)]*)\)/m,an=/,/,sn=/^\s*(_?)(\S+?)\1\s*$/,un=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,cn=x("$injector");function ln(e){return Function.prototype.toString.call(e)}function dn(e){e=ln(e).replace(un,"");return e.match(rn)||e.match(on)}function fn(e,c){c=!0===c;var o={},a="Provider",s=[],i=new tn,l={$provide:{provider:r(f),factory:r(p),service:r(function(e,t){return p(e,["$injector",function(e){return e.instantiate(t)}])}),value:r(function(e,t){return p(e,A(t),!1)}),constant:r(function(e,t){Xe(e,"constant"),l[e]=t,n[e]=t}),decorator:function(e,t){var n=u.get(e+a),r=n.$get;n.$get=function(){var e=d.invoke(r,n);return d.invoke(t,null,{$delegate:e})}}}},u=l.$injector=g(l,function(e,t){throw $.isString(t)&&s.push(t),cn("unpr","Unknown provider: {0}",s.join(" <- "))}),n={},t=g(n,function(e,t){t=u.get(e+a,t);return d.invoke(t.$get,t,void 0,e)}),d=t,e=(l["$injector"+a]={$get:A(t)},d.modules=u.modules=_e(),h(e));return(d=t.get("$injector")).strictDi=c,ke(e,function(e){e&&d.invoke(e)}),d.loadNewModules=function(e){ke(h(e),function(e){e&&d.invoke(e)})},d;function r(n){return function(e,t){if(!Be(e))return n(e,t);ke(e,j(n))}}function f(e,t){if(Xe(e,"service"),(t=Se(t)||Ee(t)?u.instantiate(t):t).$get)return l[e+a]=t;throw cn("pget","Provider '{0}' must define $get factory method.",e)}function p(e,t,n){return f(e,{$get:!1!==n?(r=e,i=t,function(){var e=d.invoke(i,this);if(Ce(e))throw cn("undef","Provider '{0}' must return a value from $get factory method.",r);return e}):t});var r,i}function h(e){Ge(Ce(e)||Ee(e),"modulesToLoad","not an array");var n,r=[];return ke(e,function(t){if(!i.get(t)){i.set(t,!0);try{Ae(t)?(n=m(t),d.modules[t]=n,r=r.concat(h(n.requires)).concat(n._runBlocks),e(n._invokeQueue),e(n._configBlocks)):Se(t)||Ee(t)?r.push(u.invoke(t)):ye(t,"module")}catch(e){throw Ee(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),cn("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function e(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=u.get(r[0]);i[r[1]].apply(i,r[2])}}}),r}function g(n,r){function u(t,e){if(n.hasOwnProperty(t)){if(n[t]===o)throw cn("cdep","Circular dependency found: {0}",t+" <- "+s.join(" <- "));return n[t]}try{return s.unshift(t),n[t]=o,n[t]=r(t,e),n[t]}catch(e){throw n[t]===o&&delete n[t],e}finally{s.shift()}}function i(e,t,n){for(var r=[],i=fn.$$annotate(e,c,n),o=0,a=i.length;o<a;o++){var s=i[o];if("string"!=typeof s)throw cn("itkn","Incorrect injection token! Expected service name as string, got {0}",s);r.push(t&&t.hasOwnProperty(s)?t[s]:u(s,n))}return r}return{invoke:function(e,t,n,r){return"string"==typeof n&&(r=n,n=null),n=i(e,n,r),function(e){var t;if(!Oe&&"function"==typeof e)return Le(t=e.$$ngIsClass)?t:e.$$ngIsClass=/^class\b/.test(ln(e))}(e=Ee(e)?e[e.length-1]:e)?(n.unshift(null),new(Function.prototype.bind.apply(e,n))):e.apply(t,n)},instantiate:function(e,t,n){var r=Ee(e)?e[e.length-1]:e;return(e=i(e,t,n)).unshift(null),new(Function.prototype.bind.apply(r,e))},get:u,annotate:fn.$$annotate,has:function(e){return l.hasOwnProperty(e+a)||n.hasOwnProperty(e)}}}}fn.$$annotate=function(e,t,n){var r;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw Ae(n)&&n||(n=e.name||((t=dn(t=e))?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),cn("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);ke(dn(e)[1].split(an),function(e){e.replace(sn,function(e,t,n){r.push(n)})})}e.$inject=r}}else Ee(e)?(t=e.length-1,ye(e[t],"fn"),r=e.slice(0,t)):ye(e,"fn",!0);return r};var pn=x("$animate"),hn=1,gn="ng-animate";function mn(e,t){return e||t?e?t?(e=Ee(e)?e.join(" "):e)+" "+(t=Ee(t)?t.join(" "):t):e:t:""}function vn(e){return Be(e)?e:{}}function yn(){this.$get=P}function $n(){var c=new tn,l=[];this.$get=["$$AnimateRunner","$rootScope",function(o,a){return{enabled:P,on:P,off:P,pin:P,push:function(e,t,n,r){r&&r(),(n=n||{}).from&&e.css(n.from),n.to&&e.css(n.to),(n.addClass||n.removeClass)&&(r=e,e=n.addClass,n=n.removeClass,i=c.get(r)||{},e=s(i,e,!0),n=s(i,n,!1),(e||n)&&(c.set(r,i),l.push(r),1===l.length&&a.$$postDigest(u)));var i,e=new o;return e.complete(),e}};function s(t,e,n){var r=!1;return e&&ke(e=Ae(e)?e.split(" "):Ee(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function u(){ke(l,function(e){var n,r,i,t,o,a=c.get(e);a&&(Ae(t=e.attr("class"))&&(t=t.split(" ")),o=_e(),ke(t,function(e){e.length&&(o[e]=!0)}),n=o,i=r="",ke(a,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:i+=(i.length?" ":"")+t)}),ke(e,function(e){r&&Nt(e,r),i&&Ot(e,i)}),c.delete(e))}),l.length=0}}]}function bn(){this.$get=["$$rAF",function(t){var n=[];function r(e){n.push(e),1<n.length||t(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}return function(){var t=!1;return r(function(){t=!0}),function(e){t?e():r(e)}}}]}function wn(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r,i){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?i(e,0,!1):t(e)},this._state=0}return o.chain=function(e,n){var r=0;!function t(){if(r===e.length)return void n(!0);e[r](function(e){!1===e?n(!1):(r++,t())})}()},o.all=function(t,n){var r=0,i=!0;function o(e){i=i&&e,++r===t.length&&n(i)}ke(t,function(e){e.done(o)})},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:P,getPromise:function(){var e;return this.promise||((e=this).promise=t(function(t,n){e.done(function(e){(!1===e?n:t)()})})),this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(ke(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},o}]}function kn(){this.$get=["$$rAF","$q","$$AnimateRunner",function(a,e,s){return function(e,t){var n=t||{};(n=n.$$prepared?n:K(n)).cleanupStyles&&(n.from=n.to=null),n.from&&(e.css(n.from),n.from=null);var r,i=new s;return{start:o,end:o};function o(){return a(function(){n.addClass&&(e.addClass(n.addClass),n.addClass=null),n.removeClass&&(e.removeClass(n.removeClass),n.removeClass=null),n.to&&(e.css(n.to),n.to=null),r||i.complete(),r=!0}),i}}}]}var xn=["$provide",function(r){var i=this,t=null,n=null;this.$$registeredAnimations=Object.create(null),this.register=function(e,t){if(e&&"."!==e.charAt(0))throw pn("notcsel","Expecting class selector starting with '.' got '{0}'.",e);var n=e+"-animation";i.$$registeredAnimations[e.substr(1)]=n,r.factory(n,t)},this.customFilter=function(e){return n=1===arguments.length?Se(e)?e:null:n},this.classNameFilter=function(e){if(1===arguments.length&&((t=e instanceof RegExp?e:null)&&new RegExp("[(\\s|\\/)]"+gn+"[(\\s|\\/)]").test(t.toString())))throw t=null,pn("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',gn);return t},this.$get=["$$animateQueue",function(o){function i(e,t,n){var r;(n=!n||!(r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===hn)return n}}(n))||r.parentNode||r.previousElementSibling?n:null)?n.after(e):t.prepend(e)}return{on:o.on,off:o.off,pin:o.pin,enabled:o.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(e,t,n,r){return t=t&&be(t),n=n&&be(n),i(e,t=t||n.parent(),n),o.push(e,"enter",vn(r))},move:function(e,t,n,r){return t=t&&be(t),n=n&&be(n),i(e,t=t||n.parent(),n),o.push(e,"move",vn(r))},leave:function(e,t){return o.push(e,"leave",vn(t),function(){e.remove()})},addClass:function(e,t,n){return(n=vn(n)).addClass=mn(n.addclass,t),o.push(e,"addClass",n)},removeClass:function(e,t,n){return(n=vn(n)).removeClass=mn(n.removeClass,t),o.push(e,"removeClass",n)},setClass:function(e,t,n,r){return(r=vn(r)).addClass=mn(r.addClass,t),r.removeClass=mn(r.removeClass,n),o.push(e,"setClass",r)},animate:function(e,t,n,r,i){return(i=vn(i)).from=i.from?xe(i.from,t):t,i.to=i.to?xe(i.to,n):n,i.tempClasses=mn(i.tempClasses,r=r||"ng-inline-animate"),o.push(e,"animate",i)}}}]}];function Cn(o,e,t,a,n){var s=this,u=o.location,c=o.history,i=o.setTimeout,r=o.clearTimeout,l={},d=n(t);s.isMock=!1,s.$$completeOutstandingRequest=d.completeTask,s.$$incOutstandingRequestCount=d.incTaskCount,s.notifyWhenNoOutstandingRequests=d.notifyWhenNoPendingTasks;var f,p,h=u.href,g=e.find("base"),m=null,v=a.history?function(){try{return c.state}catch(e){}}:P,y=(k(),s.url=function(e,t,n){if(Ce(n)&&(n=null),u!==o.location&&(u=o.location),c!==o.history&&(c=o.history),e){var r=p===n;if(e=_(e).href,h===e&&(!a.history||r))return s;var i=h&&br(h)===br(e);return h=e,p=n,!a.history||i&&r?(i||(m=e),t?u.replace(e):i?u.hash=-1===(i=(r=e).indexOf("#"))?"":r.substr(i):u.href=e,u.href!==e&&(m=e)):(c[t?"replaceState":"pushState"](n,"",e),k()),m=m&&e,s}return(m||u.href).replace(/#$/,"")},s.state=function(){return f},[]),$=!1;function b(){m=null,x()}var w=null;function k(){Te(f=Ce(f=v())?null:f,w)&&(f=w),p=w=f}function x(){var e=p;k(),h===s.url()&&e===f||(h=s.url(),p=f,ke(y,function(e){e(s.url(),f)}))}s.onUrlChange=function(e){return $||(a.history&&be(o).on("popstate",b),be(o).on("hashchange",b),$=!0),y.push(e),e},s.$$applicationDestroyed=function(){be(o).off("hashchange popstate",b)},s.$$checkUrlChange=x,s.baseHref=function(){var e=g.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},s.defer=function(e,t,n){var r;return t=t||0,n=n||d.DEFAULT_TASK_TYPE,d.incTaskCount(n),r=i.call(o,function(){delete l[r],d.completeTask(e,n)},t),l[r]=n,r},s.defer.cancel=function(e){var t;return!!l.hasOwnProperty(e)&&(t=l[e],delete l[e],r.call(o,e),d.completeTask(P,t),!0)}}function Bn(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new Cn(e,r,t,n,i)}]}function An(){this.$get=function(){var d={};function e(e,t){if(e in d)throw x("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var n=0,r=xe({},t,{id:e}),i=_e(),o=t&&t.capacity||Number.MAX_VALUE,a=_e(),s=null,u=null;return d[e]={put:function(e,t){if(!Ce(t))return o<Number.MAX_VALUE&&c(a[e]||(a[e]={key:e})),e in i||n++,i[e]=t,o<n&&this.remove(u.key),t},get:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;c(t)}return i[e]},remove:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;t===s&&(s=t.p),t===u&&(u=t.n),l(t.n,t.p),delete a[e]}e in i&&(delete i[e],n--)},removeAll:function(){i=_e(),n=0,a=_e(),s=u=null},destroy:function(){a=r=i=null,delete d[e]},info:function(){return xe({},r,{size:n})}};function c(e){e!==s&&(u?u===e&&(u=e.n):u=e,l(e.n,e.p),l(e,s),(s=e).n=null)}function l(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return e.info=function(){var n={};return ke(d,function(e,t){n[t]=e.info()}),n},e.get=function(e){return d[e]},e}}function En(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var Me=x("$compile");var Sn=new function(){};function Pn(i,t){var H={},V="Directive",he=/^\s*directive:\s*([\w-]+)\s+(.*)$/,ge=/(([\w-]+)(?::([^;]+))?;?)/,me=function(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}("ngSrc,ngSrcset,src,srcset"),d=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,ve=/^(on[a-z]+|formaction)$/,s=_e();function p(e,r,i){var o=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,a=_e();return ke(e,function(e,t){if((e=e.trim())in s)a[t]=s[e];else{var n=e.match(o);if(!n)throw Me("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",r,t,e,i?"controller bindings definition":"isolate scope definition");a[t]={mode:n[1][0],collection:"*"===n[2],optional:"?"===n[3],attrName:n[4]||t},n[4]&&(s[e]=a[t])}}),a}this.directive=function e(u,t){if(Ge(u,"name"),Xe(u,"directive"),Ae(u)){var n=u,r=n.charAt(0);if(!r||r!==E(r))throw Me("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",n);if(n!==n.trim())throw Me("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",n);Ge(t,"directiveFactory"),H.hasOwnProperty(u)||(H[u]=[],i.factory(u+V,["$injector","$exceptionHandler",function(o,a){var s=[];return ke(H[u],function(e,t){try{var n=o.invoke(e);Se(n)?n={compile:A(n)}:!n.compile&&n.link&&(n.compile=A(n.link)),n.priority=n.priority||0,n.index=t,n.name=n.name||u,n.require=(!Ee(i=(r=n).require||r.controller&&r.name)&&Be(i)&&ke(i,function(e,t){var n=e.match(d);e.substring(n[0].length)||(i[t]=n[0]+t)}),i),n.restrict=function(e,t){if(!e||Ae(e)&&/[EACM]/.test(e))return e||"EA";throw Me("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t)}(n.restrict,u),n.$$moduleName=e.$$moduleName,s.push(n)}catch(e){a(e)}var r,i}),s}])),H[u].push(t)}else ke(u,j(e));return this},this.component=function e(t,i){if(!Ae(t))return ke(t,j(Ve(this,e))),this;var o=i.controller||function(){};function n(r){function e(n){return Se(n)||Ee(n)?function(e,t){return r.invoke(n,this,{$element:e,$attrs:t})}:n}var t=i.template||i.templateUrl?i.template:"",n={controller:o,controllerAs:function(e,t){if(t&&Ae(t))return t;if(Ae(e)){t=jn.exec(e);if(t)return t[3]}}(i.controller)||i.controllerAs||"$ctrl",template:e(t),templateUrl:e(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return ke(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e)}),n}return ke(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e,Se(o)&&(o[t]=e))}),n.$inject=["$injector"],this.directive(t,n)},this.aHrefSanitizationTrustedUrlList=function(e){return T(e)?(t.aHrefSanitizationTrustedUrlList(e),this):t.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return T(e)?(t.imgSrcSanitizationTrustedUrlList(e),this):t.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});var l=!0,f=!(this.debugInfoEnabled=function(e){return T(e)?(l=e,this):l}),h=(this.strictComponentBindingsEnabled=function(e){return T(e)?(f=e,this):f},10),g=(this.onChangesTtl=function(e){return arguments.length?(h=e,this):h},!0),m=(this.commentDirectivesEnabled=function(e){return arguments.length?(g=e,this):g},!0),ye=(this.cssClassDirectivesEnabled=function(e){return arguments.length?(m=e,this):m},_e());function e(t,e){ke(e,function(e){ye[e.toLowerCase()]=t})}this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in ye&&ye[r]!==n)throw Me("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,ye[r],n);return ye[r]=n,this},e(c.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(c.CSS,["*|style"]),e(c.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(c.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(c.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"]),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(_,M,z,W,D,pe,O,N,r){var o,c=/^\w/,s=$e.document.createElement("div"),F=g,I=m,e=h;function a(){try{if(!--e)throw o=void 0,Me("infchng","{0} $onChanges() iterations reached. Aborting!\n",h);O.$apply(function(){for(var e=0,t=o.length;e<t;++e)try{o[e]()}catch(e){z(e)}o=void 0})}finally{e++}}function u(e,t){if(!e)return e;if(!Ae(e))throw Me("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",t=Pe(e),e=/\s/.test(t)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,r=t.split(e),i=Math.floor(r.length/2),o=0;o<i;o++)var a=2*o,n=(n+=N.getTrustedMediaUrl(Pe(r[a])))+(" "+Pe(r[1+a]));t=Pe(r[2*o]).split(/\s/);return n+=N.getTrustedMediaUrl(Pe(t[0])),2===t.length&&(n+=" "+Pe(t[1])),n}function G(e,t){if(t)for(var n,r=Object.keys(t),i=0,o=r.length;i<o;i++)this[n=r[i]]=t[n];else this.$attr={};this.$$element=e}function X(e,t){try{e.addClass(t)}catch(e){}}G.prototype={$normalize:De,$addClass:function(e){e&&0<e.length&&r.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&r.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Dn(e,t),n=(n&&n.length&&r.addClass(this.$$element,n),Dn(t,e));n&&n.length&&r.removeClass(this.$$element,n)},$set:function(e,t,n,r){var i=Wt(this.$$element[0],e),o=zt[e],a=e,r=(i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,a=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=We(e,"-")),"img"===Re(this.$$element)&&"srcset"===e&&(this[e]=t=u(t,"$set('srcset', value)")),!1!==n&&(null===t||Ce(t)?this.$$element.removeAttr(r):c.test(r)?i&&!1===t?this.$$element.removeAttr(r):this.$$element.attr(r,t):(o=this.$$element[0],e=r,n=t,s.innerHTML="<span "+e+">",e=s.firstChild.attributes,i=e[0],e.removeNamedItem(i.name),i.value=n,o.attributes.setNamedItem(i))),this.$$observers);r&&ke(r[a],function(e){try{e(t)}catch(e){z(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=_e()),i=r[e]||(r[e]=[]);return i.push(t),O.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||Ce(n[e])||t(n[e])}),function(){qe(i,t)}}};var t=M.startSymbol(),n=M.endSymbol(),Z="{{"===t&&"}}"===n?je:function(e){return e.replace(/\{\{/g,t).replace(/}}/g,n)},L=/^ng(Attr|Prop|On)([A-Z].*)$/,R=/^(.+)Start$/;return K.$$addBindingInfo=l?function(e,t){var n=e.data("$binding")||[];Ee(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:P,K.$$addBindingClass=l?function(e){X(e,"ng-binding")}:P,K.$$addScopeInfo=l?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:P,K.$$addScopeClass=l?function(e,t){X(e,t?"ng-isolate-scope":"ng-scope")}:P,K.$$createComment=function(e,t){var n="";return l&&(n=" "+(e||"")+": ",t&&(n+=t+" ")),$e.document.createComment(n)},K;function K(s,e,t,n,u){var c=J(s=s instanceof be?s:be(s),e,s,t,n,u),l=(K.$$addScopeClass(s),null);return function(e,t,n){if(!s)throw Me("multilink","This element has already been linked.");Ge(e,"scope"),u&&u.needsNewScope&&(e=e.$parent.$new());var r,i=(n=n||{}).parentBoundTranscludeFn,o=n.transcludeControllers,n=n.futureParentElement;if(i&&i.$$boundTransclude&&(i=i.$$boundTransclude),r="html"!==(l=l||function(e){e=e&&e[0];return e&&"foreignobject"!==Re(e)&&v.call(e).match(/SVG/)?"svg":"html"}(n))?be(ue(l,be("<div></div>").append(s).html())):t?Ut.clone.call(s):s,o)for(var a in o)r.data("$"+a+"Controller",o[a].instance);return K.$$addScopeInfo(r,e),t&&t(r,e),c&&c(e,r,r,i),t||(s=c=null),r}}function J(e,h,t,n,r,i){for(var o,a,s,g,m=[],u=Ee(e)||e instanceof be,c=0;c<e.length;c++){if(a=new G,11===Oe){l=y=v=p=f=d=void 0;var l,d=e,f=c,p=u,v=d[f],y=v.parentNode;if(v.nodeType===Ye)for(;;){if(!(l=y?v.nextSibling:d[f+1])||l.nodeType!==Ye)break;v.nodeValue=v.nodeValue+l.nodeValue,l.parentNode&&l.parentNode.removeChild(l),p&&l===d[f+1]&&d.splice(f+1,1)}}(o=(o=Q(e[c],[],a,0===c?n:void 0,r)).length?re(o,e[c],a,h,t,null,[],[],i):null)&&o.scope&&K.$$addScopeClass(a.$$element),a=o&&o.terminal||!(a=e[c].childNodes)||!a.length?null:J(a,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:h),(o||a)&&(m.push(c,o,a),s=!0,g=g||o),i=null}return s?function(e,t,n,r){var i,o,a,s,u,c,l,d,f;if(g){var p=t.length;for(f=new Array(p),u=0;u<m.length;u+=3)l=m[u],f[l]=t[l]}else f=t;for(u=0,c=m.length;u<c;)a=f[m[u++]],i=m[u++],o=m[u++],i?(i.scope?(s=e.$new(),K.$$addScopeInfo(be(a),s)):s=e,d=i.transcludeOnThisElement?Y(e,i.transclude,r):!i.templateOnThisElement&&r?r:!r&&h?Y(e,h):null,i(o,s,a,n,d)):o&&o(e,a.childNodes,void 0,r)}:null}function Y(o,a,s){function e(e,t,n,r,i){return e||((e=o.$new(!1,i)).$$transcluded=!0),a(e,t,{parentBoundTranscludeFn:s,transcludeControllers:n,futureParentElement:r})}var t,n=e.$$slots=_e();for(t in a.$$slots)a.$$slots[t]?n[t]=Y(o,a.$$slots[t],s):n[t]=null;return e}function Q(e,t,n,r,i){var o,a,s,u,c=e.nodeType,l=n.$attr;switch(c){case Je:s=Re(e),j(t,De(s),"E",r,i);for(var d=e.attributes,f=0,p=d&&d.length;f<p;f++){var h,g,m,v=!1,y=!1,$=!1,b=!1,w=!1,k=(g=d[f]).name,x=g.value;(h=(m=De(k.toLowerCase())).match(L))?($="Attr"===h[1],b="Prop"===h[1],w="On"===h[1],k=k.replace(_n,"").toLowerCase().substr(4+h[1].length).replace(/_(.)/g,function(e,t){return t.toUpperCase()})):(h=m.match(R))&&function(e){if(H.hasOwnProperty(e))for(var t=_.get(e+V),n=0,r=t.length;n<r;n++)if(t[n].multiElement)return 1;return}(h[1])&&(y=(v=k).substr(0,k.length-5)+"end",k=k.substr(0,k.length-6)),b||w?(n[m]=x,l[m]=g.name,b?function(e,t,n,o){if(ve.test(o))throw Me("nodomevents","Property bindings for HTML DOM event properties are disallowed");var e=Re(e),r=function(e,t){t=t.toLowerCase();return ye[e+"|"+t]||ye["*|"+t]}(e,o),a=je;"srcset"!==o||"img"!==e&&"source"!==e?r&&(a=N.getTrusted.bind(N,r)):a=U;t.push({priority:100,compile:function(e,t){var r=D(t[n]),i=D(t[n],function(e){return N.valueOf(e)});return{pre:function(t,n){function e(){var e=r(t);n[0][o]=a(e)}e(),t.$watch(i,e)}}}})}(e,t,m,k):(h=m,w=k,t.push(Ro(D,O,z,h,w,!1)))):(l[m=De(k.toLowerCase())]=k,!$&&n.hasOwnProperty(m)||(n[m]=x,Wt(e,m)&&(n[m]=!0)),function(e,t,o,a,n){var r=Re(e),s=function(e,t){if("srcdoc"===t)return N.HTML;return"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?N.RESOURCE_URL:N.MEDIA_URL:"xlinkHref"===t?"image"===e?N.MEDIA_URL:"a"===e?N.URL:N.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?N.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:N.URL}(r,a),i=!n,u=me[a]||n,c=M(o,i,s,u);if(c){if("multiple"===a&&"select"===r)throw Me("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ze(e));if(ve.test(a))throw Me("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,n){var r=n.$$observers||(n.$$observers=_e()),i=n[a];i!==o&&(c=i&&M(i,!0,s,u),o=i),c&&(n[a]=c(e),(r[a]||(r[a]=[])).$$inter=!0,(n.$$observers&&n.$$observers[a].$$scope||e).$watch(c,function(e,t){"class"===a&&e!==t?n.$updateClass(e,t):n.$set(a,e)}))}}}})}}(e,t,x,m,$),j(t,m,"A",r,i,v,y))}if("input"===s&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!I)break;if(Ae(a=Be(a=e.className)?a.animVal:a)&&""!==a)for(;o=ge.exec(a);)m=De(o[2]),j(t,m,"C",r,i)&&(n[m]=Pe(o[3])),a=a.substr(o.index+o[0].length);break;case Ye:s=t,C=e.nodeValue,(u=M(C,!0))&&s.push({priority:0,compile:function(e){var e=e.parent(),r=!!e.length;return r&&K.$$addBindingClass(e),function(e,t){var n=t.parent();r||K.$$addBindingClass(n),K.$$addBindingInfo(n,u.expressions),e.$watch(u,function(e){t[0].nodeValue=e})}}});break;case Qe:if(!F)break;var C=e,B=t,A=n,E=r,S=i;try{var P,T=he.exec(C.nodeValue);T&&(P=De(T[1]),j(B,P,"M",E,S)&&(A[P]=Pe(T[2])))}catch(e){}}return t.sort(q),t}function ee(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Me("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n)}while(e.nodeType===Je&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling,0<i)}else r.push(e);return be(r)}function te(o,a,s){return function(e,t,n,r,i){return t=ee(t[0],a,s),o(e,t,n,r,i)}}function ne(e,t,n,r,i,o){var a;return e?K(t,n,r,i,o):function(){return a||(a=K(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function re(e,b,w,t,n,j,k,x,r){r=r||{};for(var i,o,a=-Number.MAX_VALUE,C=r.newScopeDirective,B=r.controllerDirectives,A=r.newIsolateScopeDirective,E=r.templateDirective,s=r.nonTlbTranscludeDirective,u=!1,c=!1,S=r.hasElementTranscludeDirective,l=w.$$element=be(b),d=j,f=t,F=!1,p=!1,h=0,g=e.length;h<g;h++){var m,v=(m=e[h]).$$start,y=m.$$end;if(v&&(l=ee(b,v,y)),_=void 0,a>m.priority)break;if((o=m.scope)&&(m.templateUrl||(Be(o)?(se("new/isolated scope",A||C,m,l),A=m):se("new/isolated scope",A,m,l)),C=C||m),i=m.name,!F&&(m.replace&&(m.templateUrl||m.template)||m.transclude&&!m.$$tlb)){for(var $,I=h+1;$=e[I++];)if($.transclude&&!$.$$tlb||$.replace&&($.templateUrl||$.template)){p=!0;break}F=!0}if(!m.templateUrl&&m.controller&&(B=B||_e(),se("'"+i+"' controller",B[i],m,l),B[i]=m),o=m.transclude)if(u=!0,m.$$tlb||(se("transclusion",s,m,l),s=m),"element"===o)S=!0,a=m.priority,_=l,l=w.$$element=be(K.$$createComment(i,w[i])),b=l[0],ce(n,He(_),b),f=ne(p,_,t,a,d&&d.name,{nonTlbTranscludeDirective:s});else{var P=_e();if(Be(o)){var T,L,_=$e.document.createDocumentFragment(),R=_e(),M=_e();for(T in ke(o,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,R[e]=t,P[t]=null,M[t]=n}),ke(l.contents(),function(e){var t=R[De(Re(e))];t?(M[t]=!0,P[t]=P[t]||$e.document.createDocumentFragment(),P[t].appendChild(e)):_.appendChild(e)}),ke(M,function(e,t){if(!e)throw Me("reqslot","Required transclusion slot `{0}` was not filled.",t)}),P)P[T]&&(L=be(P[T].childNodes),P[T]=ne(p,L,t));_=be(_.childNodes)}else _=be(Bt(b)).contents();l.empty(),(f=ne(p,_,t,void 0,void 0,{needsNewScope:m.$$isolateScope||m.$$newScope})).$$slots=P}if(m.template)if(c=!0,se("template",E,m,l),o=Se((E=m).template)?m.template(l,w):m.template,o=Z(o),m.replace){if(d=m,_=wt(o)?[]:On(ue(m.templateNamespace,Pe(o))),b=_[0],1!==_.length||b.nodeType!==Je)throw Me("tplrt","Template for directive '{0}' must have exactly one root element. {1}",i,"");ce(n,l,b);var q={$attr:{}},U=Q(b,[],q),H=e.splice(h+1,e.length-(h+1));(A||C)&&oe(U,A,C),e=e.concat(U).concat(H),ae(w,q),g=e.length}else l.html(o);if(m.templateUrl)c=!0,se("template",E,m,l),(E=m).replace&&(d=m),N=function(l,d,f,p,h,g,m,v){var y,$,b=[],w=d[0],k=l.shift(),x=Ne(k,{templateUrl:null,transclude:null,replace:null,$$originalDirective:k}),C=Se(k.templateUrl)?k.templateUrl(d,f):k.templateUrl,B=k.templateNamespace;return d.empty(),W(C).then(function(e){var n,t;if(e=Z(e),k.replace){if(t=wt(e)?[]:On(ue(B,Pe(e))),n=t[0],1!==t.length||n.nodeType!==Je)throw Me("tplrt","Template for directive '{0}' must have exactly one root element. {1}",k.name,C);t={$attr:{}},ce(p,d,n);var r=Q(n,[],t);Be(k.scope)&&oe(r,!0),l=r.concat(l),ae(f,t)}else n=w,d.html(e);for(l.unshift(x),y=re(l,n,f,h,d,k,g,m,v),ke(p,function(e,t){e===n&&(p[t]=d[0])}),$=J(d[0].childNodes,h);b.length;){var i,o=b.shift(),a=b.shift(),s=b.shift(),u=b.shift(),c=d[0];o.$$destroyed||(a!==w&&(i=a.className,v.hasElementTranscludeDirective&&k.replace||(c=Bt(n)),ce(s,be(a),c),X(be(c),i)),s=y.transcludeOnThisElement?Y(o,y.transclude,u):u,y($,o,c,p,s))}b=null}).catch(function(e){Fe(e)&&z(e)}),function(e,t,n,r,i){var o=i;t.$$destroyed||(b?b.push(t,n,r,o):(y.transcludeOnThisElement&&(o=Y(t,y.transclude,i)),y($,t,n,r,o)))}}(e.splice(h,e.length-h),l,w,n,u&&f,k,x,{controllerDirectives:B,newScopeDirective:C!==m&&C,newIsolateScopeDirective:A,templateDirective:E,nonTlbTranscludeDirective:s}),g=e.length;else if(m.compile)try{var D=m.compile(l,w,f),O=m.$$originalDirective||m;Se(D)?V(null,Ve(O,D),v,y):D&&V(Ve(O,D.pre),Ve(O,D.post),v,y)}catch(e){z(e,ze(l))}m.terminal&&(N.terminal=!0,a=Math.max(a,m.priority))}return N.scope=C&&!0===C.scope,N.transcludeOnThisElement=u,N.templateOnThisElement=c,N.transclude=f,r.hasElementTranscludeDirective=S,N;function V(e,t,n,r){e&&((e=n?te(e,n,r):e).require=m.require,e.directiveName=i,A!==m&&!m.$$isolateScope||(e=le(e,{isolateScope:!0})),k.push(e)),t&&((t=n?te(t,n,r):t).require=m.require,t.directiveName=i,A!==m&&!m.$$isolateScope||(t=le(t,{isolateScope:!0})),x.push(t))}function N(e,t,n,r,a){var i,o,s,u,c,l,d,f,p,h,g;for(g in b===n?f=(p=w).$$element:p=new G(f=be(n),w),c=t,A?u=t.$new(!0):C&&(c=t.$parent),a&&((d=function(e,t,n,r){var i;Ie(e)||(r=n,n=t,t=e,e=void 0);S&&(i=l);n=n||(S?f.parent():f);{if(!r)return a(e,t,i,n,$);var o=a.$$slots[r];if(o)return o(e,t,i,n,$);if(Ce(o))throw Me("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ze(f))}}).$$boundTransclude=a,d.isSlotFilled=function(e){return!!a.$$slots[e]}),B&&(l=function(e,t,n,r,i,o,a){var s,u=_e();for(s in r){var c=r[s],l={$scope:c===a||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},d=c.controller,d=("@"===d&&(d=t[c.name]),pe(d,l,!0,c.controllerAs));u[c.name]=d,e.data("$"+c.name+"Controller",d.instance)}return u}(f,p,d,B,u,t,A)),A&&(K.$$addScopeInfo(f,u,!0,!(E&&(E===A||E===A.$$originalDirective))),K.$$addScopeClass(f,!0),u.$$isolateBindings=A.$$isolateBindings,(h=fe(t,p,u,u.$$isolateBindings,A)).removeWatches&&u.$on("$destroy",h.removeWatches)),l){var m=B[g],v=l[g],y=m.$$bindings.bindToController;v.instance=v(),f.data("$"+m.name+"Controller",v.instance),v.bindingInfo=fe(c,p,v.instance,y,m)}for(ke(B,function(e,t){var n=e.require;e.bindToController&&!Ee(n)&&Be(n)&&xe(l[t].instance,ie(t,n,f,l))}),ke(l,function(e){var t=e.instance;if(Se(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){z(e)}if(Se(t.$onInit))try{t.$onInit()}catch(e){z(e)}Se(t.$doCheck)&&(c.$watch(function(){t.$doCheck()}),t.$doCheck()),Se(t.$onDestroy)&&c.$on("$destroy",function(){t.$onDestroy()})}),i=0,o=k.length;i<o;i++)de(s=k[i],s.isolateScope?u:t,f,p,s.require&&ie(s.directiveName,s.require,f,l),d);var $=t;for(A&&(A.template||null===A.templateUrl)&&($=u),e&&e($,n.childNodes,void 0,a),i=x.length-1;0<=i;i--)de(s=x[i],s.isolateScope?u:t,f,p,s.require&&ie(s.directiveName,s.require,f,l),d);ke(l,function(e){e=e.instance;Se(e.$postLink)&&e.$postLink()})}}function ie(n,e,r,i){if(Ae(e)){var t,o,a=e.match(d),s=e.substring(a[0].length),u=a[1]||a[3],a="?"===a[2];if("^^"===u?r=r.parent():o=(o=i&&i[s])&&o.instance,o||(t="$"+s+"Controller",o="^^"===u&&r[0]&&r[0].nodeType===et?null:u?r.inheritedData(t):r.data(t)),!o&&!a)throw Me("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,n)}else if(Ee(e)){o=[];for(var c=0,l=e.length;c<l;c++)o[c]=ie(n,e[c],r,i)}else Be(e)&&(o={},ke(e,function(e,t){o[t]=ie(n,e,r,i)}));return o||null}function oe(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=Ne(e[r],{$$isolateScope:t,$$newScope:n})}function j(e,t,n,r,i,o,a){if(t!==i){var s=null;if(H.hasOwnProperty(t))for(var u=_.get(t+V),c=0,l=u.length;c<l;c++){var d,f=u[c];(Ce(r)||r>f.priority)&&-1!==f.restrict.indexOf(n)&&((f=o?Ne(f,{$$start:o,$$end:a}):f).$$bindings||(d=f.$$bindings=function(e,t){var n={isolateScope:null,bindToController:null};if(Be(e.scope)&&(!0===e.bindToController?(n.bindToController=p(e.scope,t,!0),n.isolateScope={}):n.isolateScope=p(e.scope,t,!1)),Be(e.bindToController)&&(n.bindToController=p(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw Me("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}(f,f.name),Be(d.isolateScope)&&(f.$$isolateBindings=d.isolateScope)),e.push(f),s=f)}return s}}function ae(n,r){var i=r.$attr,o=n.$attr;ke(n,function(e,t){"$"!==t.charAt(0)&&(r[t]&&r[t]!==e&&(e.length?e+=("style"===t?";":" ")+r[t]:e=r[t]),n.$set(t,e,!0,i[t]))}),ke(r,function(e,t){n.hasOwnProperty(t)||"$"===t.charAt(0)||(n[t]=e,"class"!==t&&"style"!==t&&(o[t]=i[t]))})}function q(e,t){var n=t.priority-e.priority;return 0!=n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function se(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Me("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,ze(r))}function ue(e,t){switch(e=E(e||"html")){case"svg":case"math":var n=$e.document.createElement("div");return n.innerHTML="<"+e+">"+t+"</"+e+">",n.childNodes[0].childNodes;default:return t}}function U(e){return u(N.valueOf(e),"ng-prop-srcset")}function ce(e,t,n){var r,i=t[0],o=t.length,a=i.parentNode;if(e)for(d=0,r=e.length;d<r;d++)if(e[d]===i){e[d++]=n;for(var s=d,u=s+o-1,c=e.length;s<c;s++,u++)u<c?e[s]=e[u]:delete e[s];e.length-=o-1,e.context===i&&(e.context=n);break}a&&a.replaceChild(n,i);for(var l=$e.document.createDocumentFragment(),d=0;d<o;d++)l.appendChild(t[d]);for(be.hasData(i)&&(be.data(n,be.data(i)),be(i).off("$destroy")),be.cleanData(l.querySelectorAll("*")),d=1;d<o;d++)delete t[d];t[0]=n,t.length=1}function le(e,t){return xe(function(){return e.apply(null,arguments)},e,t)}function de(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){z(e,ze(n))}}function $(e,t){if(f)throw Me("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function fe(f,p,h,e,g){var r,m=[],v={};function y(e,t,n){Se(h.$onChanges)&&!Ue(t,n)&&(o||(f.$$postDigest(a),o=[]),r||(r={},o.push(i)),r[e]&&(n=r[e].previousValue),r[e]=new Tn(n,t))}function i(){h.$onChanges(r),r=void 0}return ke(e,function(e,n){var t,r=e.attrName,i=e.optional;switch(e.mode){case"@":i||we.call(p,r)||($(r,g.name),h[n]=p[r]=void 0),t=p.$observe(r,function(e){var t;(Ae(e)||Le(e))&&(t=h[n],y(n,e,t),h[n]=e)}),p.$$observers[r].$$scope=f,Ae(u=p[r])?h[n]=M(u)(f):Le(u)&&(h[n]=u),v[n]=new Tn(Sn,h[n]),m.push(t);break;case"=":if(!we.call(p,r)){if(i)break;$(r,g.name),p[r]=void 0}if(i&&!p[r])break;var o,a=(o=D(p[r])).literal?Te:Ue,s=o.assign||function(){throw u=h[n]=o(f),Me("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",p[r],r,g.name)},u=h[n]=o(f),c=function(e){return a(e,h[n])||(a(e,u)?s(f,e=h[n]):h[n]=e),u=e};c.$stateful=!0,t=e.collection?f.$watchCollection(p[r],c):f.$watch(D(p[r],c),null,o.literal),m.push(t);break;case"<":if(!we.call(p,r)){if(i)break;$(r,g.name),p[r]=void 0}if(i&&!p[r])break;var l=(o=D(p[r])).literal,d=h[n]=o(f);v[n]=new Tn(Sn,h[n]),t=f[e.collection?"$watchCollection":"$watch"](o,function(e,t){if(t===e){if(t===d||l&&Te(t,d))return;t=d}y(n,e,t),h[n]=e}),m.push(t);break;case"&":if(i||we.call(p,r)||$(r,g.name),(o=p.hasOwnProperty(r)?D(p[r]):P)===P&&i)break;h[n]=function(e){return o(f,e)}}}),{initialChanges:v,removeWatches:m.length&&function(){for(var e=0,t=m.length;e<t;++e)m[e]()}}}}]}function Tn(e,t){this.previousValue=e,this.currentValue=t}Pn.$inject=["$provide","$$sanitizeUriProvider"],Tn.prototype.isFirstChange=function(){return this.previousValue===Sn};var _n=/^((?:x|data)[:\-_])/i,Mn=/[:\-_]+(.)/g;function De(e){return e.replace(_n,"").replace(Mn,function(e,t,n){return n?t.toUpperCase():t})}function Dn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(0<n.length?" ":"")+a}return n}function On(e){var t=(e=be(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Qe||n.nodeType===Ye&&""===n.nodeValue.trim())&&r.call(e,t,1)}return e}var Nn=x("$controller"),jn=/^(\S+)(\s+as\s+([\w$]+))?$/;function Fn(){var c={};this.has=function(e){return c.hasOwnProperty(e)},this.register=function(e,t){Xe(e,"controller"),Be(e)?xe(c,e):c[e]=t},this.$get=["$injector",function(s){return function(t,n,e,r){var i,o,a;if(e=!0===e,r&&Ae(r)&&(o=r),Ae(t)){if(!(r=t.match(jn)))throw Nn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(i=r[1],o=o||r[3],!(t=c.hasOwnProperty(i)?c[i]:function(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e=e&&(o=e)[r];return!n&&Se(e)?Ve(o,e):e}(n.$scope,i,!0)))throw Nn("ctrlreg","The controller with the name '{0}' is not registered.",i);ye(t,i,!0)}return e?(r=(Ee(t)?t[t.length-1]:t).prototype,a=Object.create(r||null),o&&u(n,o,a,i||t.name),xe(function(){var e=s.invoke(t,a,n,i);return e!==a&&(Be(e)||Se(e))&&(a=e,o&&u(n,o,a,i||t.name)),a},{instance:a,identifier:o})):(a=s.instantiate(t,n,i),o&&u(n,o,a,i||t.name),a)};function u(e,t,n,r){if(!e||!Be(e.$scope))throw x("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function In(){this.$get=["$window",function(e){return be(e.document)}]}function Ln(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function i(){r=n.hidden}return e.on("visibilitychange",i),t.$on("$destroy",function(){e.off("visibilitychange",i)}),function(){return r}}]}function Rn(){this.$get=["$log",function(n){return function(e,t){n.error.apply(n,arguments)}}]}function qn(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof be&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]}var Un="application/json",Hn={"Content-Type":Un+";charset=utf-8"},Vn=/^\[|^\{(?!\{)/,zn={"[":/]$/,"{":/}$/},Wn=/^\)]\}',?\n/,Gn=x("$http");function Xn(e){return Be(e)?k(e)?e.toISOString():te(e):e}function Zn(){this.$get=function(){return function(e){if(!e)return"";var n=[];return O(e,function(e,t){null===e||Ce(e)||Se(e)||(Ee(e)?ke(e,function(e){n.push(o(t)+"="+o(Xn(e)))}):n.push(o(t)+"="+o(Xn(e))))}),n.join("&")}}}function Kn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function n(e,r,i){Ee(e)?ke(e,function(e,t){n(e,r+"["+(Be(e)?t:"")+"]")}):Be(e)&&!k(e)?O(e,function(e,t){n(e,r+(i?"":"[")+t+(i?"":"]"))}):(Se(e)&&(e=e()),t.push(o(r)+"="+(null==e?"":o(Xn(e)))))}(e,"",!0),t.join("&")}}}function Jn(t,n){if(Ae(t)){var e=t.replace(Wn,"").trim();if(e){n=n("Content-Type"),n=n&&0===n.indexOf(Un);if(n||(i=(r=e).match(Vn))&&zn[i[0]].test(r))try{t=ne(e)}catch(e){if(n)throw Gn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e);return t}}}var r,i;return t}function Yn(e){var t,n=_e();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return Ae(e)?ke(e.split("\n"),function(e){t=e.indexOf(":"),r(E(Pe(e.substr(0,t))),Pe(e.substr(t+1)))}):Be(e)&&ke(e,function(e,t){r(E(t),Pe(e))}),n}function Qn(t){var n;return function(e){return n=n||Yn(t),e?void 0===(e=n[E(e)])?null:e:n}}function er(t,n,r,e){return Se(e)?e(t,n,r):(ke(e,function(e){t=e(t,n,r)}),t)}function tr(e){return 200<=e&&e<300}function nr(){var w=this.defaults={transformResponse:[Jn],transformRequest:[function(e){return Be(e)&&"[object File]"!==v.call(e)&&"[object Blob]"!==v.call(e)&&"[object FormData]"!==v.call(e)?te(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:C(Hn),put:C(Hn),patch:C(Hn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},k=!1,n=(this.useApplyAsync=function(e){return T(e)?(k=!!e,this):k},this.interceptors=[]),r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(a,p,h,e,g,m,s,v){var t,y=e("$http"),u=(w.paramSerializer=Ae(w.paramSerializer)?s.get(w.paramSerializer):w.paramSerializer,[]),$=(ke(n,function(e){u.unshift(Ae(e)?s.get(e):s.invoke(e))}),t=[hi].concat(r.map(_)),function(e){e=_(e);return t.some(mi.bind(null,e))});function b(e){if(!Be(e))throw x("$http")("badreq","Http request configuration must be an object.  Received: {0}",e);if(!Ae(v.valueOf(e.url)))throw x("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",e.url);var n=xe({method:"get",transformRequest:w.transformRequest,transformResponse:w.transformResponse,paramSerializer:w.paramSerializer,jsonpCallbackParam:w.jsonpCallbackParam},e),t=(n.headers=function(e){var t,n,r,i=w.headers,o=xe({},e.headers);e:for(t in i=xe({},i.common,i[E(e.method)])){for(r in n=E(t),o)if(E(r)===n)continue e;o[t]=i[t]}return function(e,n){var r,i={};return ke(e,function(e,t){Se(e)?null!=(r=e(n))&&(i[t]=r):i[t]=e}),i}(o,C(e))}(e),n.method=B(n.method),n.paramSerializer=Ae(n.paramSerializer)?s.get(n.paramSerializer):n.paramSerializer,a.$$incOutstandingRequestCount("$http"),[]),r=[],e=m.resolve(n);return ke(u,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&r.push(e.response,e.responseError)}),e=i(e,t),e=(e=i(e=e.then(function(e){var n=e.headers,t=er(e.data,Qn(n),void 0,e.transformRequest);Ce(t)&&ke(n,function(e,t){"content-type"===E(t)&&delete n[t]});Ce(e.withCredentials)&&!Ce(w.withCredentials)&&(e.withCredentials=w.withCredentials);return function(o,e){var a,t,s=m.defer(),n=s.promise,r=o.headers,i="jsonp"===E(o.method),u=o.url;i?u=v.getTrustedResourceUrl(u):Ae(u)||(u=v.valueOf(u));u=function(e,t){0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t);return e}(u,o.paramSerializer(o.params)),i&&(u=function(n,r){var e=n.split("?");if(2<e.length)throw Gn("badjsonp",'Illegal use more than one "?", in url, "{1}"',n);return ke(ue(e[1]),function(e,t){if("JSON_CALLBACK"===e)throw Gn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',n);if(t===r)throw Gn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',r,n)}),n+=(-1===n.indexOf("?")?"?":"&")+r+"=JSON_CALLBACK"}(u,o.jsonpCallbackParam));b.pendingRequests.push(o),n.then(f,f),!o.cache&&!w.cache||!1===o.cache||"GET"!==o.method&&"JSONP"!==o.method||(a=Be(o.cache)?o.cache:Be(w.cache)?w.cache:y);a&&(T(t=a.get(u))?z(t)?t.then(d,d):Ee(t)?l(t[1],t[0],C(t[2]),t[3],t[4]):l(t,200,{},"OK","complete"):a.put(u,n));Ce(t)&&((i=$(o.url)?h()[o.xsrfCookieName||w.xsrfCookieName]:void 0)&&(r[o.xsrfHeaderName||w.xsrfHeaderName]=i),p(o.method,u,e,function(e,t,n,r,i){a&&(tr(e)?a.put(u,[e,t,Yn(n),r,i]):a.remove(u));function o(){l(t,e,n,r,i)}k?g.$applyAsync(o):(o(),g.$$phase||g.$apply())},r,o.timeout,o.withCredentials,o.responseType,c(o.eventHandlers),c(o.uploadEventHandlers)));return n;function c(e){var t;if(e)return t={},ke(e,function(n,e){t[e]=function(e){function t(){n(e)}k?g.$applyAsync(t):g.$$phase?t():g.$apply(t)}}),t}function l(e,t,n,r,i){(tr(t=-1<=t?t:0)?s.resolve:s.reject)({data:e,status:t,headers:Qn(n),config:o,statusText:r,xhrStatus:i})}function d(e){l(e.data,e.status,C(e.headers()),e.statusText,e.xhrStatus)}function f(){var e=b.pendingRequests.indexOf(o);-1!==e&&b.pendingRequests.splice(e,1)}}(e,t).then(o,o)}),r)).finally(function(){a.$$completeOutstandingRequest(P,"$http")});function i(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function o(e){var t=xe({},e);return t.data=er(e.data,e.headers,e.status,n.transformResponse),tr(e.status)?t:m.reject(t)}}return b.pendingRequests=[],function(){ke(arguments,function(n){b[n]=function(e,t){return b(xe({},t||{},{method:n,url:e}))}})}("get","delete","head","jsonp"),function(){ke(arguments,function(r){b[r]=function(e,t,n){return b(xe({},n||{},{method:r,url:e,data:t}))}})}("post","put","patch"),b.defaults=w,b}]}function rr(){this.$get=function(){return function(){return new $e.XMLHttpRequest}}}function ir(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return x=r,C=(k=e).defer,B=t,A=n[0],function(e,r,t,i,n,o,a,s,u,c){if(r=r||k.url(),"jsonp"===E(e))var l=B.createCallback(r),d=(g=l,m=function(e,t){var n=200===e&&B.getResponse(l);w(i,e,n,"",t,"complete"),B.removeCallback(l)},h=(h=r).replace("JSON_CALLBACK",g),v=A.createElement("script"),y=null,v.type="text/javascript",v.src=h,v.async=!0,y=function(e){v.removeEventListener("load",y),v.removeEventListener("error",y),A.body.removeChild(v),v=null;var t=-1,n="unknown";e&&(n=(e="load"!==e.type||B.wasCalled(g)?e:{type:"error"}).type,t="error"===e.type?404:200),m&&m(t,n)},v.addEventListener("load",y),v.addEventListener("error",y),A.body.appendChild(v),y);else{var f=x(e,r),p=!1;f.open(e,r,!0),ke(n,function(e,t){T(e)&&f.setRequestHeader(t,e)}),f.onload=function(){var e=f.statusText||"",t="response"in f?f.response:f.responseText,n=1223===f.status?204:f.status;0===n&&(n=t?200:"file"===_(r).protocol?404:0),w(i,n,t,f.getAllResponseHeaders(),e,"complete")};if(f.onerror=function(){w(i,-1,null,null,"","error")},f.ontimeout=function(){w(i,-1,null,null,"","timeout")},f.onabort=function(){w(i,-1,null,null,"",p?"timeout":"abort")},ke(u,function(e,t){f.addEventListener(t,e)}),ke(c,function(e,t){f.upload.addEventListener(t,e)}),a&&(f.withCredentials=!0),s)try{f.responseType=s}catch(e){if("json"!==s)throw e}f.send(Ce(t)?null:t)}var h,g,m,v,y,$;function b(e){p="timeout"===e,d&&d(),f&&f.abort()}function w(e,t,n,r,i,o){T($)&&C.cancel($),d=f=null,e(t,n,r,i,o)}0<o?$=C(function(){b("timeout")},o):z(o)&&o.then(function(){b(T(o.$$timeoutId)?"timeout":"abort")})};var k,x,C,B,A}]}var or=$.$interpolateMinErr=x("$interpolate");function ar(){var C="{{",B="}}";this.startSymbol=function(e){return e?(C=e,this):C},this.endSymbol=function(e){return e?(B=e,this):B},this.$get=["$parse","$exceptionHandler","$sce",function(v,y,$){var b=C.length,w=B.length,t=new RegExp(C.replace(/./g,e),"g"),n=new RegExp(B.replace(/./g,e),"g");function e(e){return"\\\\\\"+e}function k(e){return e.replace(t,C).replace(n,B)}function x(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function r(i,e,r,o){var a=r===$.URL||r===$.MEDIA_URL;if(!i.length||-1===i.indexOf(C)){if(e)return;var t=k(i),t=A(t=a?$.getTrusted(r,t):t);return t.exp=i,t.expressions=[],t.$$watchDelegate=x,t}o=!!o;for(var n,s,u=0,c=[],l=i.length,d=[],f=[];u<l;){if(-1===(s=i.indexOf(C,u))||-1===(n=i.indexOf(B,s+b))){u!==l&&d.push(k(i.substring(u)));break}u!==s&&d.push(k(i.substring(u,s))),s=i.substring(s+b,n),c.push(s),u=n+w,f.push(d.length),d.push("")}var p,h=1===d.length&&1===f.length,g=a&&h?void 0:function(e){try{return e=r&&!a?$.getTrusted(r,e):$.valueOf(e),o&&!T(e)?e:Ke(e)}catch(e){y(or.interr(i,e))}},m=c.map(function(e){return v(e,g)});if(!e||c.length)return p=function(e){for(var t=0,n=c.length;t<n;t++){if(o&&Ce(e[t]))return;d[f[t]]=e[t]}return a?$.getTrusted(r,h?d[0]:d.join("")):(r&&1<d.length&&or.throwNoconcat(i),d.join(""))},xe(function(e){var t=0,n=c.length,r=new Array(n);try{for(;t<n;t++)r[t]=m[t](e);return p(r)}catch(e){y(or.interr(i,e))}},{exp:i,expressions:c,$$watchDelegate:function(r,i){var o;return r.$watchGroup(m,function(e,t){var n=p(e);i.call(this,n,e!==t?o:n,r),o=n})}})}return r.startSymbol=function(){return C},r.endSymbol=function(){return B},r}]}or.throwNoconcat=function(e){throw or("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},or.interr=function(e,t){return or("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var sr=x("$interval");function ur(){this.$get=["$$intervalFactory","$window",function(e,r){function n(e){r.clearInterval(e),delete i[e]}var i={},e=e(function(e,t,n){e=r.setInterval(e,t);return i[e]=n,e},n);return e.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw sr("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!i.hasOwnProperty(e.$$intervalId))return!1;var e=e.$$intervalId,t=i[e];return Zr(t.promise),t.reject("canceled"),n(e),!0},e}]}function cr(){this.$get=["$browser","$q","$$q","$rootScope",function(p,h,g,m){return function(d,f){return function(e,t,n,r){var i=4<arguments.length,o=i?He(arguments,4):[],a=0,s=T(r)&&!r,u=(s?g:h).defer(),c=u.promise;function l(){i?e.apply(null,o):e(a)}return n=T(n)?n:0,c.$$intervalId=d(function(){s?p.defer(l):m.$evalAsync(l),u.notify(a++),0<n&&n<=a&&(u.resolve(a),f(c.$$intervalId)),s||m.$apply()},t,u,s),c}}}]}function lr(){this.$get=function(){var i=$.callbacks,o={};function a(e){function t(e){t.data=e,t.called=!0}return t.id=e,t}return{createCallback:function(e){var t="_"+(i.$$counter++).toString(36),n="angular.callbacks."+t,r=a(t);return o[n]=i[t]=r,n},wasCalled:function(e){return o[e].called},getResponse:function(e){return o[e].data},removeCallback:function(e){var t=o[e];delete i[t.id],delete o[e]}}}}var dr=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,fr={http:80,https:443,ftp:21},pr=x("$location");function hr(e,t,n){r=[],ke(t,function(e,t){Ee(e)?ke(e,function(e){r.push(o(t,!0)+(!0===e?"":"="+o(e,!0)))}):r.push(o(t,!0)+(!0===e?"":"="+o(e,!0)))});var r,t=r.length?r.join("&"):"",n=n?"#"+ce(n):"";return function(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ce(t[n].replace(/%2F/g,"/"));return t.join("/")}(e)+(t?"?"+t:"")+n}function gr(e,t){e=_(e);t.$$protocol=e.protocol,t.$$host=e.hostname,t.$$port=y(e.port)||fr[e.protocol]||null}var mr=/^\s*[\\/]{2,}/;function vr(e,t,n){if(mr.test(e))throw pr("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0),e=_(e=r?"/"+e:e),r=r&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(r,n),t.$$search=ue(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function yr(e,t){return e.slice(0,t.length)===t}function $r(e,t){if(yr(t,e))return t.substr(e.length)}function br(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function wr(r,i,o){this.$$html5=!0,o=o||"",gr(r,this),this.$$parse=function(e){var t=$r(i,e);if(!Ae(t))throw pr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,i);vr(t,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return i+e.substr(1)},this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(T(t=$r(r,e))?(n=t,n=o&&T(t=$r(o,t))?i+($r("/",t)||t):r+n):T(t=$r(i,e))?n=i+t:i===e+"/"&&(n=i),n&&this.$$parse(n),!!n);var n}}function kr(r,i,o){gr(r,this),this.$$parse=function(e){var t,n=$r(r,e)||$r(i,e);Ce(n)||"#"!==n.charAt(0)?this.$$html5?t=n:(t="",Ce(n)&&(r=e,this.replace())):Ce(t=$r(o,n))&&(t=n),vr(t,this,!1),this.$$path=function(e,t,n){var r=/^\/[A-Z]:(\/.*)/;yr(t,n)&&(t=t.replace(n,""));if(r.exec(t))return e;return(n=r.exec(e))?n[1]:e}(this.$$path,t,r),this.$$compose()},this.$$normalizeUrl=function(e){return r+(e?o+e:"")},this.$$parseLinkUrl=function(e,t){return br(r)===br(e)&&(this.$$parse(e),!0)}}var xr={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=hr(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Cr("$$absUrl"),url:function(e){if(Ce(e))return this.$$url;var t=dr.exec(e);return!t[1]&&""!==e||this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Cr("$$protocol"),host:Cr("$$host"),port:Cr("$$port"),path:Br("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(n,e){switch(arguments.length){case 0:return this.$$search;case 1:if(Ae(n)||b(n))n=n.toString(),this.$$search=ue(n);else{if(!Be(n))throw pr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");ke(n=K(n,{}),function(e,t){null==e&&delete n[t]}),this.$$search=n}break;default:Ce(e)||null===e?delete this.$$search[n]:this.$$search[n]=e}return this.$$compose(),this},hash:Br("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function Cr(e){return function(){return this[e]}}function Br(t,n){return function(e){return Ce(e)?this[t]:(this[t]=n(e),this.$$compose(),this)}}function Ar(){var r=!0,o=this;this.debugEnabled=function(e){return T(e)?(r=e,this):r},this.$get=["$window",function(t){var e,i=Oe||/\bEdge\//.test(t.navigator&&t.navigator.userAgent);return{log:n("log"),info:n("info"),warn:n("warn"),error:n("error"),debug:(e=n("debug"),function(){r&&e.apply(o,arguments)})};function n(e){var n=t.console||{},r=n[e]||n.log||P;return function(){var t=[];return ke(arguments,function(e){t.push((Fe(e=e)&&(e.stack&&i?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e))}),Function.prototype.apply.call(r,n,t)}}}]}ke([function(r,i,o){this.$$html5=!0,kr.apply(this,arguments),this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(r===br(e)?n=e:(t=$r(i,e))?n=r+o+t:i===e+"/"&&(n=i),n&&this.$$parse(n),!!n);var n},this.$$normalizeUrl=function(e){return r+o+e}},kr,wr],function(t){t.prototype=Object.create(xr),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t===wr&&this.$$html5)return this.$$state=Ce(e)?null:e,this.$$urlUpdatedByLocation=!0,this;throw pr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API")}});var Er=x("$parse"),Sr={}.constructor.prototype.valueOf;function Pr(e){return e+""}var Tr=_e(),_r=(ke("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Tr[e]=!0}),{n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'}),Mr=function(e){this.options=e},f=(Mr.prototype={constructor:Mr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t,n,r,i,o,a=this.text.charAt(this.index);'"'===a||"'"===a?this.readString(a):this.isNumber(a)||"."===a&&this.isNumber(this.peek())?this.readNumber():this.isIdentifierStart(this.peekMultichar())?this.readIdent():this.is(a,"(){}[].,;:?")?(this.tokens.push({index:this.index,text:a}),this.index++):this.isWhitespace(a)?this.index++:(n=(t=a+this.peek())+this.peek(2),o=Tr[a],r=Tr[t],i=Tr[n],o||r||i?(this.tokens.push({index:this.index,text:o=i?n:r?t:a,operator:!0}),this.index+=o.length):this.throwError("Unexpected next character ",this.index,this.index+1))}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){e=e||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return 55296<=n&&n<=56319&&56320<=r&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;t=T(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Er("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=E(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){for(var t=this.index,n=(this.index++,""),r=e,i=!1;this.index<this.text.length;){var o,a=this.text.charAt(this.index);if(r+=a,i)"u"===a?((o=this.text.substring(this.index+1,this.index+5)).match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))):n+=_r[a]||a,i=!1;else if("\\"===a)i=!0;else{if(a===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=a}this.index++}this.throwError("Unterminated quote",t)}},function(e,t){this.lexer=e,this.options=t});function Dr(e,t){return void 0!==e?e:t}function Or(e,t){return void 0===e?t:void 0===t?e:e+t}f.Program="Program",f.ExpressionStatement="ExpressionStatement",f.AssignmentExpression="AssignmentExpression",f.ConditionalExpression="ConditionalExpression",f.LogicalExpression="LogicalExpression",f.BinaryExpression="BinaryExpression",f.UnaryExpression="UnaryExpression",f.CallExpression="CallExpression",f.MemberExpression="MemberExpression",f.Identifier="Identifier",f.Literal="Literal",f.ArrayExpression="ArrayExpression",f.Property="Property",f.ObjectExpression="ObjectExpression",f.ThisExpression="ThisExpression",f.LocalsExpression="LocalsExpression",f.NGValueParameter="NGValueParameter",f.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:f.Program,body:e}},expressionStatement:function(){return{type:f.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Ir(e))throw Er("lval","Trying to assign a value to a non l-value");e={type:f.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:f.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:f.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:f.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:f.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:f.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:f.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:f.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:f.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=K(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:f.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:f.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:f.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:f.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],e={type:f.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return e},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)for(;e.push(this.filterChain()),this.expect(","););return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:f.Identifier,name:e.text}},constant:function(){return{type:f.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)for(;!this.peek("]")&&(e.push(this.expression()),this.expect(",")););return this.consume("]"),{type:f.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)for(;!this.peek("}")&&(e={type:f.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e),this.expect(",")););return this.consume("}"),{type:f.ObjectExpression,properties:t}},throwError:function(e,t){throw Er("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw Er("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Er("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var e=this.tokens[e],o=e.text;if(o===t||o===n||o===r||o===i||!t&&!n&&!r&&!i)return e}return!1},expect:function(e,t,n,r){e=this.peek(e,t,n,r);return!!e&&(this.tokens.shift(),e)},selfReferential:{this:{type:f.ThisExpression},$locals:{type:f.LocalsExpression}}};var Nr=1,jr=2;function u(e,t,n){var r,i,o,a=e.isPure=function(e,t){switch(e.type){case f.MemberExpression:if(e.computed)return!1;break;case f.UnaryExpression:return Nr;case f.BinaryExpression:return"+"!==e.operator&&Nr;case f.CallExpression:return!1}return void 0===t?jr:t}(e,n);switch(e.type){case f.Program:r=!0,ke(e.body,function(e){u(e.expression,t,a),r=r&&e.expression.constant}),e.constant=r;break;case f.Literal:e.constant=!0,e.toWatch=[];break;case f.UnaryExpression:u(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case f.BinaryExpression:u(e.left,t,a),u(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case f.LogicalExpression:u(e.left,t,a),u(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case f.ConditionalExpression:u(e.test,t,a),u(e.alternate,t,a),u(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case f.Identifier:e.constant=!1,e.toWatch=[e];break;case f.MemberExpression:u(e.object,t,a),e.computed&&u(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case f.CallExpression:o=!!e.filter&&(o=e.callee.name,!t(o).$stateful),r=o,i=[],ke(e.arguments,function(e){u(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=o?i:[e];break;case f.AssignmentExpression:u(e.left,t,a),u(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case f.ArrayExpression:r=!0,i=[],ke(e.elements,function(e){u(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case f.ObjectExpression:r=!0,i=[],ke(e.properties,function(e){u(e.value,t,a),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(u(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case f.ThisExpression:case f.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Fr(e){var t;if(1===e.length)return e=e[0].expression,t=e.toWatch,1!==t.length||t[0]!==e?t:void 0}function Ir(e){return e.type===f.Identifier||e.type===f.MemberExpression}function Lr(e){if(1===e.body.length&&Ir(e.body[0].expression))return{type:f.AssignmentExpression,left:e.body[0].expression,right:{type:f.NGValueParameter},operator:"="}}function Rr(e){this.$filter=e}function qr(e){this.$filter=e}function Ur(e,t,n){this.ast=new f(e,n),this.astCompiler=new(n.csp?qr:Rr)(t)}function Hr(e){return Se(e.valueOf)?e.valueOf():Sr.call(e)}function Vr(){var s,u,c=_e(),l={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){l[e]=t},this.setIdentifierFns=function(e,t){return s=e,u=t,this},this.$get=["$filter",function(i){var o={csp:J().noUnsafeEval,literals:K(l),isIdentifierStart:Se(s)&&s,isIdentifierContinue:Se(u)&&u};return e.$$getAst=function(e){return new Ur(new Mr(o),i,o).getAst(e).ast},e;function e(e,t){var n,r;switch(typeof e){case"string":return e=e.trim(),(r=c[n=e])||(r=new Ur(new Mr(o),i,o).parse(e),c[n]=h(r)),a(r,t);case"function":return a(e,t);default:return a(P,t)}}function f(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Hr(e))&&!n)&&(e===t||e!=e&&t!=t)}function t(e,t,n,o,r){var a,i,s=o.inputs;if(1===s.length)return i=f,s=s[0],e.$watch(function(e){var t=s(e);return f(t,i,s.isPure)||(a=o(e,void 0,void 0,[t]),i=t&&Hr(t)),a},t,n,r);for(var u=[],c=[],l=0,d=s.length;l<d;l++)u[l]=f,c[l]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var i=s[n](e);(t=t||!f(i,u[n],s[n].isPure))&&(c[n]=i,u[n]=i&&Hr(i))}return a=t?o(e,void 0,void 0,c):a},t,n,r)}function n(e,t,n,r,i){var o,a,s=r.literal?p:T,u=r.$$intercepted||r,c=r.$$interceptor||je,l=r.inputs&&!u.inputs;return f.literal=r.literal,f.constant=r.constant,f.inputs=r.inputs,h(f),o=e.$watch(f,t,n,i);function d(){s(a)&&o()}function f(e,t,n,r){return a=l&&r?r[0]:u(e,t,n,r),s(a)&&e.$$postDigest(d),c(a)}}function p(e){var t=!0;return ke(e,function(e){T(e)||(t=!1)}),t}function r(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function h(e){return e.constant?e.$$watchDelegate=r:e.oneTime?e.$$watchDelegate=n:e.inputs&&(e.$$watchDelegate=t),e}function a(i,o){if(!o)return i;function e(e){return r(n(e))}function t(e,t,n,r){return e=a&&r?r[0]:i(e,t,n,r),o(e)}i.$$interceptor&&(n=i.$$interceptor,r=o,e.$stateful=n.$stateful||r.$stateful,e.$$pure=n.$$pure&&r.$$pure,o=e,i=i.$$intercepted);var n,r,a=!1;return t.$$intercepted=i,t.$$interceptor=o,t.literal=i.literal,t.oneTime=i.oneTime,t.constant=i.constant,o.$stateful||(a=!i.inputs,t.inputs=i.inputs||[i],o.$$pure||(t.inputs=t.inputs.map(function(t){return t.isPure===jr?function(e){return t(e)}:t}))),h(t)}}]}function zr(){var n=!0;this.$get=["$rootScope","$exceptionHandler",function(t,e){return Gr(function(e){t.$evalAsync(e)},e,n)}],this.errorOnUnhandledRejections=function(e){return T(e)?(n=e,this):n}}function Wr(){var n=!0;this.$get=["$browser","$exceptionHandler",function(t,e){return Gr(function(e){t.defer(e)},e,n)}],this.errorOnUnhandledRejections=function(e){return T(e)?(n=e,this):n}}function Gr(s,u,c){var n=x("$q",TypeError),l=0,r=[];function i(){return new e}function e(){var t=this.promise=new o;this.resolve=function(e){p(t,e)},this.reject=function(e){h(t,e)},this.notify=function(e){m(t,e)}}function o(){this.$$state={status:0}}function d(){for(;!l&&r.length;){var e,t=r.shift();t.pur||(Xr(t),e="Possibly unhandled rejection: "+nt(t.value),Fe(t.value)?u(t.value,e):u(e))}}function f(a){!c||a.pending||2!==a.status||a.pur||(0===l&&0===r.length&&s(d),r.push(a)),!a.processScheduled&&a.pending&&(a.processScheduled=!0,++l,s(function(){var e,t,n=a,r=n.pending;n.processScheduled=!1,n.pending=void 0;try{for(var i=0,o=r.length;i<o;++i){Xr(n),t=r[i][0],e=r[i][n.status];try{Se(e)?p(t,e(n.value)):(1===n.status?p:h)(t,n.value)}catch(e){h(t,e),e&&!0===e.$$passToExceptionHandler&&u(e)}}}finally{--l,c&&0===l&&s(d)}}))}function p(e,t){e.$$state.status||(t===e?g(e,n("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):function t(n,e){var r;var i=!1;try{(Be(e)||Se(e))&&(r=e.then),Se(r)?(n.$$state.status=-1,r.call(e,o,a,s)):(n.$$state.value=e,n.$$state.status=1,f(n.$$state))}catch(e){a(e)}function o(e){i||(i=!0,t(n,e))}function a(e){i||(i=!0,g(n,e))}function s(e){m(n,e)}}(e,t))}function h(e,t){e.$$state.status||g(e,t)}function g(e,t){e.$$state.value=t,e.$$state.status=2,f(e.$$state)}function m(e,i){var o=e.$$state.pending;e.$$state.status<=0&&o&&o.length&&s(function(){for(var e,t,n=0,r=o.length;n<r;n++){t=o[n][0],e=o[n][3];try{m(t,Se(e)?e(i):i)}catch(e){u(e)}}})}function a(e){var t=new o;return h(t,e),t}function v(e,t,n){var r=null;try{Se(n)&&(r=n())}catch(e){return a(e)}return z(r)?r.then(function(){return t(e)},a):t(e)}function y(e,t,n,r){var i=new o;return p(i,e),i.then(t,n,r)}xe(o.prototype,{then:function(e,t,n){if(Ce(e)&&Ce(t)&&Ce(n))return this;var r=new o;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(t,e){return this.then(function(e){return v(e,$,t)},function(e){return v(e,a,t)},e)}});var $=y;function t(e){if(!Se(e))throw n("norslvr","Expected resolverFn, got '{0}'",e);var t=new o;return e(function(e){p(t,e)},function(e){h(t,e)}),t}return t.prototype=o.prototype,t.defer=i,t.reject=a,t.when=y,t.resolve=$,t.all=function(e){var n=new o,r=0,i=Ee(e)?[]:{};return ke(e,function(e,t){r++,y(e).then(function(e){i[t]=e,--r||p(n,i)},function(e){h(n,e)})}),0===r&&p(n,i),n},t.race=function(e){var t=i();return ke(e,function(e){y(e).then(t.resolve,t.reject)}),t.promise},t}function Xr(e){e.pur=!0}function Zr(e){e.$$state&&Xr(e.$$state)}function Kr(){this.$get=["$window","$timeout",function(e,n){var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,e=!!r,t=e?function(e){var t=r.call($e,e);return function(){i(t)}}:function(e){var t=n(e,16.66,!1);return function(){n.cancel(t)}};return t.supported=e,t}]}function Jr(){var C=10,B=x("$rootScope"),A=null,E=null;this.digestTtl=function(e){return C=arguments.length?e:C},this.$get=["$exceptionHandler","$parse","$browser",function(p,h,g){function i(e){e.currentScope.$$destroyed=!0}function o(){this.$id=F(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,(this.$root=this).$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}o.prototype={constructor:o,$new:function(e,t){var n;function r(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=F(),this.$$ChildScope=null,this.$$suspended=!1}return t=t||this,e?(n=new o).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=(r.prototype=this,r)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,!e&&t===this||n.$on("$destroy",i),n},$watch:function(e,t,n,r){var i=h(e),t=Se(t)?t:P;if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,s={fn:t,last:k,get:i,exp:r||e,eq:!!n};return A=null,a||((a=o.$$watchers=[]).$$digestWatchIndex=-1),a.unshift(s),a.$$digestWatchIndex++,u(this,1),function(){var e=qe(a,s);0<=e&&(u(o,-1),e<a.$$digestWatchIndex&&a.$$digestWatchIndex--),A=null}},$watchGroup:function(t,r){var e,i=new Array(t.length),o=new Array(t.length),n=[],a=this,s=!1,u=!0;return t.length?1===t.length?this.$watch(t[0],function(e,t,n){o[0]=e,i[0]=t,r(o,e===t?o:i,n)}):(ke(t,function(e,t){e=a.$watch(e,function(e){o[t]=e,s||(s=!0,a.$evalAsync(c))});n.push(e)}),function(){for(;n.length;)n.shift()()}):(e=!0,a.$evalAsync(function(){e&&r(o,o,a)}),function(){e=!1});function c(){s=!1;try{u?(u=!1,r(o,o,a)):r(o,i,a)}finally{for(var e=0;e<t.length;e++)i[e]=o[e]}}},$watchCollection:function(e,n){t.$$pure=h(e).literal,t.$stateful=!t.$$pure;var a,s,r,i=this,o=1<n.length,u=0,e=h(e,t),c=[],l={},d=!0,f=0;function t(e){var t,n,r,i;if(!Ce(a=e)){if(Be(a))if(N(a)){s!==c&&(f=(s=c).length=0,u++),t=a.length,f!==t&&(u++,s.length=f=t);for(var o=0;o<t;o++)i=s[o],r=a[o],i!=i&&r!=r||i===r||(u++,s[o]=r)}else{for(n in s!==l&&(s=l={},f=0,u++),t=0,a)we.call(a,n)&&(t++,r=a[n],i=s[n],n in s?i!=i&&r!=r||i===r||(u++,s[n]=r):(f++,s[n]=r,u++));if(t<f)for(n in u++,s)we.call(a,n)||(f--,delete s[n])}else s!==a&&(s=a,u++);return u}}return this.$watch(e,function(){if(d?(d=!1,n(a,a,i)):n(a,r,i),o)if(Be(a))if(N(a)){r=new Array(a.length);for(var e=0;e<a.length;e++)r[e]=a[e]}else for(var t in r={},a)we.call(a,t)&&(r[t]=a[t]);else r=a})},$digest:function(){var e,t,n,r,i,o,a,s=C,u=v.length?m:this,c=[];b("$digest"),g.$$checkUrlChange(),this===m&&null!==E&&(g.defer.cancel(E),x()),A=null;do{for(var l=!1,d=u,f=0;f<v.length;f++){try{(0,(a=v[f]).fn)(a.scope,a.locals)}catch(e){p(e)}A=null}v.length=0;e:do{if(r=!d.$$suspended&&d.$$watchers)for(r.$$digestWatchIndex=r.length;r.$$digestWatchIndex--;)try{if(e=r[r.$$digestWatchIndex])if((t=(0,e.get)(d))===(n=e.last)||(e.eq?Te(t,n):S(t)&&S(n))){if(e===A){l=!1;break e}}else l=!0,(A=e).last=e.eq?K(t,null):t,(0,e.fn)(t,n===k?t:n,d),s<5&&(c[o=4-s]||(c[o]=[]),c[o].push({msg:Se(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:t,oldVal:n}))}catch(e){p(e)}if(!(i=!d.$$suspended&&d.$$watchersCount&&d.$$childHead||d!==u&&d.$$nextSibling))for(;d!==u&&!(i=d.$$nextSibling);)d=d.$parent}while(d=i);if((l||v.length)&&!s--)throw w(),B("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",C,c)}while(l||v.length);for(w();$<y.length;)try{y[$++]()}catch(e){p(e)}y.length=$=0,g.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e,t=this.$parent;for(e in this.$broadcast("$destroy"),this.$$destroyed=!0,this===m&&g.$$applicationDestroyed(),u(this,-this.$$watchersCount),this.$$listenerCount)a(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=P,this.$on=this.$watch=this.$watchGroup=function(){return P},this.$$listeners={},this.$$nextSibling=null,!function e(t){9===Oe&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return h(e)(this,t)},$evalAsync:function(e,t){m.$$phase||v.length||g.defer(function(){v.length&&m.$digest()},null,"$evalAsync"),v.push({scope:this,fn:h(e),locals:t})},$$postDigest:function(e){y.push(e)},$apply:function(e){try{b("$apply");try{return this.$eval(e)}finally{w()}}catch(e){p(e)}finally{try{m.$digest()}catch(e){throw p(e),e}}},$applyAsync:function(e){var t=this;e&&n.push(function(){t.$eval(e)}),e=h(e),null===E&&(E=g.defer(function(){m.$apply(x)},null,"$applyAsync"))},$on:function(t,n){for(var r=this.$$listeners[t],e=(r||(this.$$listeners[t]=r=[]),r.push(n),this);e.$$listenerCount[t]||(e.$$listenerCount[t]=0),e.$$listenerCount[t]++,e=e.$parent;);var i=this;return function(){var e=r.indexOf(n);-1!==e&&(delete r[e],a(i,1,t))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=Q([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,c)}catch(e){p(e)}else n.splice(r,1),r--,i--}while(!s&&(a=a.$parent));return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return i;for(var o,a,s,u=Q([i],arguments,1);n=r;){for(a=0,s=(o=(i.currentScope=n).$$listeners[e]||[]).length;a<s;a++)if(o[a])try{o[a].apply(null,u)}catch(e){p(e)}else o.splice(a,1),a--,s--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var m=new o,v=m.$$asyncQueue=[],y=m.$$postDigestQueue=[],n=m.$$applyAsyncQueue=[],$=0;return m;function b(e){if(m.$$phase)throw B("inprog","{0} already in progress",m.$$phase);m.$$phase=e}function w(){m.$$phase=null}function u(e,t){for(;e.$$watchersCount+=t,e=e.$parent;);}function a(e,t,n){for(;e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n],e=e.$parent;);}function k(){}function x(){for(;n.length;)try{n.shift()()}catch(e){p(e)}E=null}}]}function Yr(){var r=/^\s*(https?|s?ftp|mailto|tel|file):/,i=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(e){return T(e)?(r=e,this):r},this.imgSrcSanitizationTrustedUrlList=function(e){return T(e)?(i=e,this):i},this.$get=function(){return function(e,t){var t=t?i:r,n=_(e&&e.trim()).href;return""===n||n.match(t)?e:"unsafe:"+n}}}Rr.prototype={compile:function(e){var i=this,t=(this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},u(e,i.$filter),""),n=(this.stage="assign",(n=Lr(e))&&(this.state.computing="assign",r=this.nextId(),this.recurse(n,r),this.return_(r),t="fn.assign="+this.generateFunction("assign","s,v,l")),Fr(e.body)),r=(i.stage="inputs",ke(n,function(e,t){var n="fn"+t,r=(i.state[n]={vars:[],body:[],own:{}},i.state.computing=n,i.nextId());i.recurse(e,r),i.return_(r),i.state.inputs.push({name:n,isPure:e.isPure}),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(e),'"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+t+this.watchFns()+"return fn;"),n=new Function("$filter","getStringValue","ifDefined","plus",r)(this.$filter,Pr,Dr,Or);return this.state=this.stage=void 0,n},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return ke(e,function(e){t.push("var "+e.name+"="+n.generateFunction(e.name,"s")),e.isPure&&t.push(e.name,".isPure="+JSON.stringify(e.isPure)+";")}),e.length&&t.push("fn.inputs=["+e.map(function(e){return e.name}).join(",")+"];"),t.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var n=[],r=this;return ke(this.state.filters,function(e,t){n.push(e+"=$filter("+r.escape(t)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(n,t,e,r,i,o){var a,s,u,c,l,d=this;if(r=r||P,!o&&T(n.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",n.watchId)),this.lazyRecurse(n,t,e,r,i,!0));switch(n.type){case f.Program:ke(n.body,function(e,t){d.recurse(e.expression,void 0,void 0,function(e){s=e}),t!==n.body.length-1?d.current().body.push(s,";"):d.return_(s)});break;case f.Literal:c=this.escape(n.value),this.assign(t,c),r(t||c);break;case f.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(e){s=e}),c=n.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),r(c);break;case f.BinaryExpression:this.recurse(n.left,void 0,void 0,function(e){a=e}),this.recurse(n.right,void 0,void 0,function(e){s=e}),c="+"===n.operator?this.plus(a,s):"-"===n.operator?this.ifDefined(a,0)+n.operator+this.ifDefined(s,0):"("+a+")"+n.operator+"("+s+")",this.assign(t,c),r(c);break;case f.LogicalExpression:t=t||this.nextId(),d.recurse(n.left,t),d.if_("&&"===n.operator?t:d.not(t),d.lazyRecurse(n.right,t)),r(t);break;case f.ConditionalExpression:t=t||this.nextId(),d.recurse(n.test,t),d.if_(t,d.lazyRecurse(n.alternate,t),d.lazyRecurse(n.consequent,t)),r(t);break;case f.Identifier:t=t||this.nextId(),e&&(e.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),e.computed=!1,e.name=n.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",n.name)),function(){d.if_("inputs"===d.stage||"s",function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",n.name)),d.lazyAssign(d.nonComputedMember("s",n.name),"{}")),d.assign(t,d.nonComputedMember("s",n.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",n.name))),r(t);break;case f.MemberExpression:a=e&&(e.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(n.object,a,void 0,function(){d.if_(d.notNull(a),function(){n.computed?(s=d.nextId(),d.recurse(n.property,s),d.getStringValue(s),i&&1!==i&&d.if_(d.not(d.computedMember(a,s)),d.lazyAssign(d.computedMember(a,s),"{}")),c=d.computedMember(a,s),d.assign(t,c),e&&(e.computed=!0,e.name=s)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(a,n.property.name)),d.lazyAssign(d.nonComputedMember(a,n.property.name),"{}")),c=d.nonComputedMember(a,n.property.name),d.assign(t,c),e&&(e.computed=!1,e.name=n.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case f.CallExpression:t=t||this.nextId(),n.filter?(s=d.filter(n.callee.name),u=[],ke(n.arguments,function(e){var t=d.nextId();d.recurse(e,t),u.push(t)}),c=s+"("+u.join(",")+")",d.assign(t,c),r(t)):(s=d.nextId(),a={},u=[],d.recurse(n.callee,s,a,function(){d.if_(d.notNull(s),function(){ke(n.arguments,function(e){d.recurse(e,n.constant?void 0:d.nextId(),void 0,function(e){u.push(e)})}),c=a.name?d.member(a.context,a.name,a.computed)+"("+u.join(",")+")":s+"("+u.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),r(t)}));break;case f.AssignmentExpression:s=this.nextId(),a={},this.recurse(n.left,void 0,a,function(){d.if_(d.notNull(a.context),function(){d.recurse(n.right,s),c=d.member(a.context,a.name,a.computed)+n.operator+s,d.assign(t,c),r(t||c)})},1);break;case f.ArrayExpression:u=[],ke(n.elements,function(e){d.recurse(e,n.constant?void 0:d.nextId(),void 0,function(e){u.push(e)})}),c="["+u.join(",")+"]",this.assign(t,c),r(t||c);break;case f.ObjectExpression:l=!(u=[]),ke(n.properties,function(e){e.computed&&(l=!0)}),l?(t=t||this.nextId(),this.assign(t,"{}"),ke(n.properties,function(e){e.computed?(a=d.nextId(),d.recurse(e.key,a)):a=e.key.type===f.Identifier?e.key.name:""+e.key.value,s=d.nextId(),d.recurse(e.value,s),d.assign(d.member(t,a,e.computed),s)})):(ke(n.properties,function(t){d.recurse(t.value,n.constant?void 0:d.nextId(),void 0,function(e){u.push(d.escape(t.key.type===f.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+u.join(",")+"}",this.assign(t,c)),r(t||c);break;case f.ThisExpression:this.assign(t,"s"),r(t||"s");break;case f.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case f.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){var r;!0===e?t():((r=this.current().body).push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}")))},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(Ae(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(b(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw Er("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},qr.prototype={compile:function(e){var r,i,o=this,t=(u(e,o.$filter),(t=Lr(e))&&(r=this.recurse(t)),Fr(e.body)),a=(t&&(i=[],ke(t,function(e,t){var n=o.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t})),[]),t=(ke(e.body,function(e){a.push(o.recurse(e.expression))}),0===e.body.length?P:1===e.body.length?a[0]:function(t,n){var r;return ke(a,function(e){r=e(t,n)}),r});return r&&(t.assign=function(e,t,n){return r(e,n,t)}),i&&(t.inputs=i),t},recurse:function(e,u,t){var o,c,l,n=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case f.Literal:return this.value(e.value,u);case f.UnaryExpression:return c=this.recurse(e.argument),this["unary"+e.operator](c,u);case f.BinaryExpression:case f.LogicalExpression:return o=this.recurse(e.left),c=this.recurse(e.right),this["binary"+e.operator](o,c,u);case f.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),u);case f.Identifier:return n.identifier(e.name,u,t);case f.MemberExpression:return o=this.recurse(e.object,!1,!!t),e.computed||(c=e.property.name),e.computed&&(c=this.recurse(e.property)),e.computed?this.computedMember(o,c,u,t):this.nonComputedMember(o,c,u,t);case f.CallExpression:return l=[],ke(e.arguments,function(e){l.push(n.recurse(e))}),e.filter&&(c=this.$filter(e.callee.name)),e.filter||(c=this.recurse(e.callee,!0)),e.filter?function(e,t,n,r){for(var i=[],o=0;o<l.length;++o)i.push(l[o](e,t,n,r));var a=c.apply(void 0,i,r);return u?{context:void 0,name:void 0,value:a}:a}:function(e,t,n,r){var i,o=c(e,t,n,r);if(null!=o.value){for(var a=[],s=0;s<l.length;++s)a.push(l[s](e,t,n,r));i=o.value.apply(o.context,a)}return u?{value:i}:i};case f.AssignmentExpression:return o=this.recurse(e.left,!0,1),c=this.recurse(e.right),function(e,t,n,r){var i=o(e,t,n,r),e=c(e,t,n,r);return i.context[i.name]=e,u?{value:e}:e};case f.ArrayExpression:return l=[],ke(e.elements,function(e){l.push(n.recurse(e))}),function(e,t,n,r){for(var i=[],o=0;o<l.length;++o)i.push(l[o](e,t,n,r));return u?{value:i}:i};case f.ObjectExpression:return l=[],ke(e.properties,function(e){e.computed?l.push({key:n.recurse(e.key),computed:!0,value:n.recurse(e.value)}):l.push({key:e.key.type===f.Identifier?e.key.name:""+e.key.value,computed:!1,value:n.recurse(e.value)})}),function(e,t,n,r){for(var i={},o=0;o<l.length;++o)l[o].computed?i[l[o].key(e,t,n,r)]=l[o].value(e,t,n,r):i[l[o].key]=l[o].value(e,t,n,r);return u?{value:i}:i};case f.ThisExpression:return function(e){return u?{value:e}:e};case f.LocalsExpression:return function(e,t){return u?{value:t}:t};case f.NGValueParameter:return function(e,t,n){return u?{value:n}:n}}},"unary+":function(i,o){return function(e,t,n,r){e=T(e=i(e,t,n,r))?+e:0;return o?{value:e}:e}},"unary-":function(i,o){return function(e,t,n,r){e=T(e=i(e,t,n,r))?-e:-0;return o?{value:e}:e}},"unary!":function(i,o){return function(e,t,n,r){e=!i(e,t,n,r);return o?{value:e}:e}},"binary+":function(i,o,a){return function(e,t,n,r){e=Or(i(e,t,n,r),o(e,t,n,r));return a?{value:e}:e}},"binary-":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r),e=a(e,t,n,r),t=(T(i)?i:0)-(T(e)?e:0);return s?{value:t}:t}},"binary*":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)*o(e,t,n,r);return a?{value:e}:e}},"binary/":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)/o(e,t,n,r);return a?{value:e}:e}},"binary%":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)%o(e,t,n,r);return a?{value:e}:e}},"binary===":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)===o(e,t,n,r);return a?{value:e}:e}},"binary!==":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)!==o(e,t,n,r);return a?{value:e}:e}},"binary==":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)==o(e,t,n,r);return a?{value:e}:e}},"binary!=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)!=o(e,t,n,r);return a?{value:e}:e}},"binary<":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)<o(e,t,n,r);return a?{value:e}:e}},"binary>":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)>o(e,t,n,r);return a?{value:e}:e}},"binary<=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)<=o(e,t,n,r);return a?{value:e}:e}},"binary>=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)>=o(e,t,n,r);return a?{value:e}:e}},"binary&&":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)&&o(e,t,n,r);return a?{value:e}:e}},"binary||":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)||o(e,t,n,r);return a?{value:e}:e}},"ternary?:":function(i,o,a,s){return function(e,t,n,r){e=(i(e,t,n,r)?o:a)(e,t,n,r);return s?{value:e}:e}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(i,o,a){return function(e,t,n,r){t=t&&i in t?t:e,a&&1!==a&&t&&null==t[i]&&(t[i]={}),e=t?t[i]:void 0;return o?{context:t,name:i,value:e}:e}},computedMember:function(s,u,c,l){return function(e,t,n,r){var i,o,a=s(e,t,n,r);return null!=a&&(i=u(e,t,n,r),i+="",l&&1!==l&&a&&!a[i]&&(a[i]={}),o=a[i]),c?{context:a,name:i,value:o}:o}},nonComputedMember:function(i,o,a,s){return function(e,t,n,r){e=i(e,t,n,r),s&&1!==s&&e&&null==e[o]&&(e[o]={}),t=null!=e?e[o]:void 0;return a?{context:e,name:o,value:t}:t}},inputs:function(i,o){return function(e,t,n,r){return r?r[o]:i(e,t,n)}}},Ur.prototype={constructor:Ur,parse:function(e){var t,e=this.getAst(e),n=this.astCompiler.compile(e.ast);return n.literal=0===(t=e.ast).body.length||1===t.body.length&&(t.body[0].expression.type===f.Literal||t.body[0].expression.type===f.ArrayExpression||t.body[0].expression.type===f.ObjectExpression),n.constant=e.ast.constant,n.oneTime=e.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Qr=x("$sce"),c={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},ei=/_([a-z])/g;function ti(e){return e.replace(ei,lt)}function ni(e){var t=[];return T(e)&&ke(e,function(e){t.push(function(e){if("self"===e)return e;if(Ae(e)){if(-1<e.indexOf("***"))throw Qr("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=G(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(H(e))return new RegExp("^"+e.source+"$");throw Qr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function ri(){this.SCE_CONTEXTS=c;var s=["self"],u=[];this.trustedResourceUrlList=function(e){return s=arguments.length?ni(e):s},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return u=arguments.length?ni(e):u},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(e,r){var i=function(e){throw Qr("unsafe","Attempting to use an unsafe value in a safe context.")};function o(e,t){return"self"===e?mi(t,hi)||mi(t,function(){if($e.document.baseURI)return $e.document.baseURI;pi||((pi=$e.document.createElement("a")).href=".",pi=pi.cloneNode(!1));return pi.href}()):e.exec(t.href)}function t(e){function t(e){this.$$unwrapTrustedValue=function(){return e}}return(t.prototype=e?new e:t.prototype).valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}e.has("$sanitize")&&(i=e.get("$sanitize"));var n=t(),a={};return a[c.HTML]=t(n),a[c.CSS]=t(n),a[c.MEDIA_URL]=t(n),a[c.URL]=t(a[c.MEDIA_URL]),a[c.JS]=t(n),a[c.RESOURCE_URL]=t(a[c.URL]),{trustAs:function(e,t){var n=a.hasOwnProperty(e)?a[e]:null;if(!n)throw Qr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||Ce(t)||""===t)return t;if("string"!=typeof t)throw Qr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,t){if(null===t||Ce(t)||""===t)return t;var n=a.hasOwnProperty(e)?a[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(Se(t.$$unwrapTrustedValue)&&(t=t.$$unwrapTrustedValue()),e===c.MEDIA_URL||e===c.URL)return r(t.toString(),e===c.MEDIA_URL);if(e===c.RESOURCE_URL){if(function(e){for(var t=_(e.toString()),n=!1,r=0,i=s.length;r<i;r++)if(o(s[r],t)){n=!0;break}if(n)for(r=0,i=u.length;r<i;r++)if(o(u[r],t)){n=!1;break}return n}(t))return t;throw Qr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===c.HTML)return i(t);throw Qr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof n?e.$$unwrapTrustedValue():e}}}]}function ii(){var t=!0;this.enabled=function(e){return t=arguments.length?!!e:t},this.$get=["$parse","$sceDelegate",function(r,e){if(t&&Oe<8)throw Qr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var i=C(c),n=(i.isEnabled=function(){return t},i.trustAs=e.trustAs,i.getTrusted=e.getTrusted,i.valueOf=e.valueOf,t||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=je),i.parseAs=function(t,e){var n=r(e);return n.literal&&n.constant?n:r(e,function(e){return i.getTrusted(t,e)})},i.parseAs),o=i.getTrusted,a=i.trustAs;return ke(c,function(t,e){e=E(e);i[ti("parse_as_"+e)]=function(e){return n(t,e)},i[ti("get_trusted_"+e)]=function(e){return o(t,e)},i[ti("trust_as_"+e)]=function(e){return a(t,e)}}),i}]}function oi(){this.$get=["$window","$document",function(e,t){var n={},r=!(!(e.nw&&e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=y((/android (\d+)/.exec(E((e.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},t=o.body&&o.body.style,a=!1,s=!1;return t&&(a=!!("transition"in t||"webkitTransition"in t),s=!!("animation"in t||"webkitAnimation"in t)),{history:!(!r||i<4||e),hasEvent:function(e){return("input"!==e||!Oe)&&(Ce(n[e])&&(t=o.createElement("div"),n[e]="on"+e in t),n[e]);var t},csp:J(),transitions:a,animations:s,android:i}}]}function ai(){this.$get=A(function(e){return new si(e)})}function si(o){var a={},r=[],s=this.ALL_TASKS_TYPE="$$all$$",u=this.DEFAULT_TASK_TYPE="$$default$$";function c(){var e=r.pop();return e&&e.cb}function l(e){for(var t=r.length-1;0<=t;--t){var n=r[t];if(n.type===e)return r.splice(t,1),n.cb}}this.completeTask=function(e,t){t=t||u;try{e()}finally{!function(e){a[e=e||u]&&(a[e]--,a[s]--)}(t);var e=a[t],n=a[s];if(!n||!e)for(var r,i=n?l:c;r=i(t);)try{r()}catch(e){o.error(e)}}},this.incTaskCount=function(e){a[e=e||u]=(a[e]||0)+1,a[s]=(a[s]||0)+1},this.notifyWhenNoPendingTasks=function(e,t){a[t=t||s]?r.push({type:t,cb:e}):e()}}var ui=x("$templateRequest");function ci(){var c;this.httpOptions=function(e){return e?(c=e,this):c},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(r,i,o,a,s){function u(t,n){u.totalPendingRequests++,Ae(t)&&!Ce(i.get(t))||(t=s.getTrustedResourceUrl(t));var e=o.defaults&&o.defaults.transformResponse;return Ee(e)?e=e.filter(function(e){return e!==Jn}):e===Jn&&(e=null),o.get(t,xe({cache:i,transformResponse:e},c)).finally(function(){u.totalPendingRequests--}).then(function(e){return i.put(t,e.data)},function(e){n||(e=ui("tpload","Failed to load template: {0} (HTTP status: {1} {2})",t,e.status,e.statusText),r(e));return a.reject(e)})}return u.totalPendingRequests=0,u}]}function li(){this.$get=["$rootScope","$browser","$location",function(t,n,r){var e={findBindings:function(e,n,r){var e=e.getElementsByClassName("ng-binding"),i=[];return ke(e,function(t){var e=$.element(t).data("$binding");e&&ke(e,function(e){r?new RegExp("(^|\\s)"+G(n)+"(\\s|\\||$)").test(e)&&i.push(t):-1!==e.indexOf(n)&&i.push(t)})}),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=e.querySelectorAll("["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return r.url()},setLocation:function(e){e!==r.url()&&(r.url(e),t.$digest())},whenStable:function(e){n.notifyWhenNoOutstandingRequests(e)}};return e}]}var di=x("$timeout");function fi(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(s,u,c,l,d){var f={};function e(e,t,n){Se(e)||(n=t,t=e,e=P);var r=He(arguments,3),i=T(n)&&!n,o=(i?l:c).defer(),a=o.promise,n=u.defer(function(){try{o.resolve(e.apply(null,r))}catch(e){o.reject(e),d(e)}finally{delete f[a.$$timeoutId]}i||s.$apply()},t,"$timeout");return a.$$timeoutId=n,f[n]=o,a}return e.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw di("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!f.hasOwnProperty(e.$$timeoutId))return!1;var e=e.$$timeoutId,t=f[e];return Zr(t.promise),t.reject("canceled"),delete f[e],u.defer.cancel(e)},e}]}var pi,t=$e.document.createElement("a"),hi=_($e.location.href),gi=(t.href="http://[::1]","[::1]"===t.hostname);function _(e){if(!Ae(e))return e;Oe&&(t.setAttribute("href",e),e=t.href),t.setAttribute("href",e),e=t.hostname;return!gi&&-1<e.indexOf(":")&&(e="["+e+"]"),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:e,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}function mi(e,t){return e=_(e),t=_(t),e.protocol===t.protocol&&e.host===t.host}function vi(){this.$get=A($e)}function yi(e){var a=e[0]||{},s={},u="";function c(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var e,t,n,r,i,o=function(e){try{return e.cookie||""}catch(e){return""}}(a);if(o!==u)for(e=(u=o).split("; "),s={},n=0;n<e.length;n++)0<(r=(t=e[n]).indexOf("="))&&(i=c(t.substring(0,r)),Ce(s[i])&&(s[i]=c(t.substring(r+1))));return s}}function $i(){this.$get=yi}function bi(r){function i(e,t){var n;return Be(e)?(n={},ke(e,function(e,t){n[t]=i(t,e)}),n):r.factory(e+"Filter",t)}this.register=i,this.$get=["$injector",function(t){return function(e){return t.get(e+"Filter")}}],i("currency",Bi),i("date",ji),i("filter",wi),i("json",Fi),i("limitTo",Ri),i("lowercase",Ii),i("number",Ai),i("orderBy",Ui),i("uppercase",Li)}function wi(){return function(e,t,n,r){if(!N(e)){if(null==e)return e;throw x("filter")("notarray","Expected array but received: {0}",e)}var i,o;switch(r=r||"$",xi(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":o=!0;case"object":i=function(t,n,r,i){var o=Be(t)&&r in t;!0===n?n=Te:Se(n)||(n=function(e,t){return!Ce(e)&&(null===e||null===t?e===t:!(Be(t)||Be(e)&&!q(e))&&(e=E(""+e),t=E(""+t),-1!==e.indexOf(t)))});return function(e){return o&&!Be(e)?ki(e,t[r],n,r,!1):ki(e,t,n,r,i)}}(t,n,r,o);break;default:return e}return Array.prototype.filter.call(e,i)}}function ki(e,t,n,r,i,o){var a,s=xi(e),u=xi(t);if("string"===u&&"!"===t.charAt(0))return!ki(e,t.substring(1),n,r,i);if(Ee(e))return e.some(function(e){return ki(e,t,n,r,i)});switch(s){case"object":if(i){for(a in e)if(a.charAt&&"$"!==a.charAt(0)&&ki(e[a],t,n,r,!0))return!0;return!o&&ki(e,t,n,r,!1)}if("object"!==u)return n(e,t);for(a in t){var c=t[a];if(!Se(c)&&!Ce(c)){var l=a===r;if(!ki(l?e:e[a],c,n,r,l,l))return!1}}return!0;case"function":return!1;default:return n(e,t)}}function xi(e){return null===e?"null":typeof e}yi.$inject=["$document"],bi.$inject=["$provide"];var Ci="0";function Bi(e){var i=e.NUMBER_FORMATS;return function(e,t,n){Ce(t)&&(t=i.CURRENCY_SYM),Ce(n)&&(n=i.PATTERNS[1].maxFrac);var r=t?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:Ei(e,i.PATTERNS[1],i.GROUP_SEP,i.DECIMAL_SEP,n).replace(r,t)}}function Ai(e){var n=e.NUMBER_FORMATS;return function(e,t){return null==e?e:Ei(e,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,t)}}function Ei(e,t,n,r,i){if(!Ae(e)&&!b(e)||isNaN(e))return"";var o=!isFinite(e),a=!1,s=Math.abs(e)+"",u="";if(o)u="∞";else{var c=o=function(e){var t,n,r,i,o,a=0;for(0<(r=(e=-1<(n=e.indexOf("."))?e.replace(".",""):e).search(/e/i))?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Ci;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Ci;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return 22<n&&(t=t.splice(0,21),a=n-1,n=1),{d:t,e:a,i:n}}(s),l=i,s=t.minFrac,i=t.maxFrac,d=c.d,f=d.length-c.i,p=(l=Ce(l)?Math.min(Math.max(s,f),i):+l)+c.i,s=d[p];if(0<p){d.splice(Math.max(c.i,p));for(var h=p;h<d.length;h++)d[h]=0}else{f=Math.max(0,f),c.i=1,d.length=Math.max(1,p=l+1),d[0]=0;for(var g=1;g<p;g++)d[g]=0}if(5<=s)if(p-1<0){for(var m=0;p<m;m--)d.unshift(0),c.i++;d.unshift(1),c.i++}else d[p-1]++;for(;f<Math.max(0,l);f++)d.push(0);(i=d.reduceRight(function(e,t,n,r){return r[n]=(t+=e)%10,Math.floor(t/10)},0))&&(d.unshift(i),c.i++);for(var v=o.d,y=o.i,s=o.e,i=[],a=v.reduce(function(e,t){return e&&!t},!0);y<0;)v.unshift(0),y++;0<y?i=v.splice(y,v.length):(i=v,v=[0]);var $=[];for(v.length>=t.lgSize&&$.unshift(v.splice(-t.lgSize,v.length).join(""));v.length>t.gSize;)$.unshift(v.splice(-t.gSize,v.length).join(""));v.length&&$.unshift(v.join("")),u=$.join(n),i.length&&(u+=r+i.join("")),s&&(u+="e+"+s)}return e<0&&!a?t.negPre+u+t.negSuf:t.posPre+u+t.posSuf}function Si(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=Ci+e;return i+(e=n?e.substr(e.length-t):e)}function e(t,n,r,i,o){return r=r||0,function(e){e=e["get"+t]();return(0<r||-r<e)&&(e+=r),Si(e=0===e&&-12===r?12:e,n,i,o)}}function Pi(n,r,i){return function(e,t){e=e["get"+n]();return t[B((i?"STANDALONE":"")+(r?"SHORT":"")+n)][e]}}function Ti(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function _i(n){return function(e){var t=Ti(e.getFullYear()),e=(e=e,new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay())));return Si(1+Math.round((+e-+t)/6048e5),n)}}function Mi(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}Bi.$inject=["$locale"];var Di={yyyy:e("FullYear",4,0,!(Ai.$inject=["$locale"]),!0),yy:e("FullYear",2,0,!0,!0),y:e("FullYear",1,0,!1,!0),MMMM:Pi("Month"),MMM:Pi("Month",!0),MM:e("Month",2,1),M:e("Month",1,1),LLLL:Pi("Month",!1,!0),dd:e("Date",2),d:e("Date",1),HH:e("Hours",2),H:e("Hours",1),hh:e("Hours",2,-12),h:e("Hours",1,-12),mm:e("Minutes",2),m:e("Minutes",1),ss:e("Seconds",2),s:e("Seconds",1),sss:e("Milliseconds",3),EEEE:Pi("Day"),EEE:Pi("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=0<=(n=-1*n)?"+":"";return r+=Si(Math[0<n?"floor":"ceil"](n/60),2)+Si(Math.abs(n%60),2)},ww:_i(2),w:_i(1),G:Mi,GG:Mi,GGG:Mi,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Oi=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Ni=/^-?\d+$/;function ji(g){var m=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e,n){var r,i,o,a,s,u,c,l,d,f="",p=[];if(e=g.DATETIME_FORMATS[e=e||"mediumDate"]||e,!k(t=b(t=Ae(t)?Ni.test(t)?y(t):(d=(o=t).match(m))?(a=new Date(0),l=c=0,u=d[8]?a.setUTCFullYear:a.setFullYear,s=d[8]?a.setUTCHours:a.setHours,d[9]&&(c=y(d[9]+d[10]),l=y(d[9]+d[11])),u.call(a,y(d[1]),y(d[2])-1,y(d[3])),u=y(d[4]||0)-c,c=y(d[5]||0)-l,l=y(d[6]||0),d=Math.round(1e3*parseFloat("0."+(d[7]||0))),s.call(a,u,c,l,d),a):o:t)?new Date(t):t)||!isFinite(t.getTime()))return t;for(;e;)e=(i=Oi.exec(e))?(p=Q(p,i,1)).pop():(p.push(e),null);var h=t.getTimezoneOffset();return n&&(h=ie(n,h),t=ae(t,n,!0)),ke(p,function(e){r=Di[e],f+=r?r(t,g.DATETIME_FORMATS,h):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),f}}function Fi(){return function(e,t){return te(e,t=Ce(t)?2:t)}}ji.$inject=["$locale"];var Ii=A(E),Li=A(B);function Ri(){return function(e,t,n){return t=(Math.abs(Number(t))===1/0?Number:y)(t),!S(t)&&N(e=b(e)?e.toString():e)?(n=(n=!n||isNaN(n)?0:y(n))<0?Math.max(0,e.length+n):n,0<=t?qi(e,n,n+t):0===n?qi(e,t,e.length):qi(e,Math.max(0,n+t),n)):e}}function qi(e,t,n){return Ae(e)?e.slice(t,n):a.call(e,t,n)}function Ui(i){return function(e,t,n,r){if(null==e)return e;if(!N(e))throw x("orderBy")("notarray","Expected array but received: {0}",e);var o=(t=0===(t=Ee(t)?t:[t]).length?["+"]:t).map(function(e){var t,n=1,r=je;return Se(e)?r=e:Ae(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=i(e)).constant&&(t=r(),r=function(e){return e[t]})),{get:r,descending:n}}),a=n?-1:1,s=Se(r)?r:c,t=Array.prototype.map.call(e,function(r,i){return{value:r,tieBreaker:{value:i,type:"number",index:i},predicateValues:o.map(function(e){var e=e.get(r),t=i,n=typeof e;return null===e?n="null":"object"===n&&(e=function(e){if(Se(e.valueOf)&&u(e=e.valueOf()))return e;if(q(e)&&u(e=e.toString()))return e;return e}(e)),{value:e,type:n,index:t}})}});return t.sort(function(e,t){for(var n=0,r=o.length;n<r;n++){var i=s(e.predicateValues[n],t.predicateValues[n]);if(i)return i*o[n].descending*a}return(s(e.tieBreaker,t.tieBreaker)||c(e.tieBreaker,t.tieBreaker))*a}),e=t.map(function(e){return e.value})};function u(e){switch(typeof e){case"number":case"boolean":case"string":return 1;default:return}}function c(e,t){var n,r,i=0,o=e.type,a=t.type;return o===a?(n=e.value,r=t.value,"string"===o?(n=n.toLowerCase(),r=r.toLowerCase()):"object"===o&&(Be(n)&&(n=e.index),Be(r)&&(r=t.index)),n!==r&&(i=n<r?-1:1)):i="undefined"!==o&&("undefined"===a||"null"!==o&&("null"===a||o<a))?-1:1,i}}function Hi(e){return(e=Se(e)?{link:e}:e).restrict=e.restrict||"AC",A(e)}Ui.$inject=["$parse"];var Vi=A({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){var n;"a"===t[0].nodeName.toLowerCase()&&(n="[object SVGAnimatedString]"===v.call(t.prop("href"))?"xlink:href":"href",t.on("click",function(e){t.attr(n)||e.preventDefault()}))}}}),zi={},Wi=(ke(Ht,function(e,r){var i,t;function o(e,t,n){e.$watch(n[i],function(e){n.$set(r,!!e)})}"multiple"!==e&&(i=De("ng-"+r),t="checked"===e?function(e,t,n){n.ngModel!==n[i]&&o(e,0,n)}:o,zi[i]=function(){return{restrict:"A",priority:100,link:t}})}),ke(zt,function(e,i){zi[i]=function(){return{priority:100,link:function(e,t,n){if("ngPattern"===i&&"/"===n.ngPattern.charAt(0)){var r=n.ngPattern.match(p);if(r)return void n.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(n[i],function(e){n.$set(i,e)})}}}}),ke(["src","srcset","href"],function(a){var s=De("ng-"+a);zi[s]=["$sce",function(o){return{priority:99,link:function(e,t,n){var r=a,i=a;"href"===a&&"[object SVGAnimatedString]"===v.call(t.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$set(s,o.getTrustedMediaUrl(n[s])),n.$observe(s,function(e){e?(n.$set(i,e),Oe&&r&&t.prop(r,n[i])):"href"===a&&n.$set(i,null)})}}}]}),{$addControl:P,$getControls:A([]),$$renameControl:function(e,t){e.$name=t},$removeControl:P,$setValidity:P,$setDirty:P,$setPristine:P,$setSubmitted:P,$$setSubmitted:P}),Gi="ng-pending",Xi="ng-submitted";function Zi(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Wi,this.$$element=e,this.$$animate=r,Qi(this)}Zi.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Zi.prototype={$rollbackViewValue:function(){ke(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){ke(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){Xe(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return C(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],(this[t]=e).$name=t},$removeControl:function(n){n.$name&&this[n.$name]===n&&delete this[n.$name],ke(this.$pending,function(e,t){this.$setValidity(t,null,n)},this),ke(this.$error,function(e,t){this.$setValidity(t,null,n)},this),ke(this.$$success,function(e,t){this.$setValidity(t,null,n)},this),qe(this.$$controls,n),n.$$parentForm=Wi},$setDirty:function(){this.$$animate.removeClass(this.$$element,Xo),this.$$animate.addClass(this.$$element,Zo),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Xo,Zo+" "+Xi),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,ke(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){ke(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Wi;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Xi),this.$submitted=!0,ke(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},eo({clazz:Zi,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(qe(r,n),0===r.length&&delete e[t])}});function Ki(n){return["$timeout","$parse",function(u,t){return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:Zi,compile:function(e,t){e.addClass(Xo).addClass(Wo);var s=t.name?"name":!(!n||!t.ngForm)&&"ngForm";return{pre:function(t,e,n,r){var i,o=r[0];"action"in n||(e[0].addEventListener("submit",i=function(e){t.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),e.preventDefault()}),e.on("$destroy",function(){u(function(){e[0].removeEventListener("submit",i)},0,!1)}));(r[1]||o.$$parentForm).$addControl(o);var a=s?c(o.$name):P;s&&(a(t,o),n.$observe(s,function(e){o.$name!==e&&(a(t,void 0),o.$$parentForm.$$renameControl(o,e),(a=c(o.$name))(t,o))})),e.on("$destroy",function(){o.$$parentForm.$removeControl(o),a(t,void 0),xe(o,Wi)})}}}};function c(e){return""===e?t('this[""]').assign:t(e).assign||P}}]}var Ji=Ki(),Yi=Ki(!0);function Qi(e){e.$$classCache={},e.$$classCache[Go]=!(e.$$classCache[Wo]=e.$$element.hasClass(Wo))}function eo(e){var t=e.clazz,s=e.set,u=e.unset;function c(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function l(e,t,n){t=t?"-"+We(t,"-"):"",c(e,Wo+t,!0===n),c(e,Go+t,!1===n)}t.prototype.$setValidity=function(e,t,n){var r,i,o,a;Ce(t)?(r=e,i=n,(o=this)[a="$pending"]||(o[a]={}),s(o[a],r,i)):(o=e,a=n,(r=this)[i="$pending"]&&u(r[i],o,a),to(r[i])&&(r[i]=void 0)),Le(t)?t?(u(this.$error,e,n),s(this.$$success,e,n)):(s(this.$error,e,n),u(this.$$success,e,n)):(u(this.$error,e,n),u(this.$$success,e,n)),this.$pending?(c(this,Gi,!0),this.$valid=this.$invalid=void 0,l(this,"",null)):(c(this,Gi,!1),this.$valid=to(this.$error),this.$invalid=!this.$valid,l(this,"",this.$valid)),l(this,e,t=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,t,this)}}function to(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var no=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,io=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,oo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,i=/^(\d{4,})-(\d{2})-(\d{2})$/,ao=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,so=/^(\d{4,})-W(\d\d)$/,uo=/^(\d{4,})-(\d\d)$/,co=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,lo="keydown wheel mousedown",fo=_e(),po=(ke("date,datetime-local,month,time,week".split(","),function(e){fo[e]=!0}),{text:function(e,t,n,r,i,o){go(0,t,n,r,i,o),ho(r)},date:vo("date",i,mo(i,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":vo("datetimelocal",ao,mo(ao,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:vo("time",co,mo(co,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:vo("week",so,function(e,t){if(k(e))return e;if(Ae(e)){so.lastIndex=0;var n,r,i,o,a,s,e=so.exec(e);if(e)return n=+e[1],e=+e[2],a=o=i=r=0,s=Ti(n),e=7*(e-1),t&&(r=t.getHours(),i=t.getMinutes(),o=t.getSeconds(),a=t.getMilliseconds()),new Date(n,0,s.getDate()+e,r,i,o,a)}return NaN},"yyyy-Www"),month:vo("month",uo,mo(uo,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o,a,s){var u;{var c;yo(0,t,0,r,"number"),$o(r),go(0,t,n,r,i,o),(T(n.min)||n.ngMin)&&(c=n.min||s(n.ngMin)(e),u=h(c),r.$validators.min=function(e,t){return r.$isEmpty(t)||Ce(u)||u<=t},n.$observe("min",function(e){e!==c&&(u=h(e),c=e,r.$validate())}))}{var l,d;(T(n.max)||n.ngMax)&&(l=n.max||s(n.ngMax)(e),d=h(l),r.$validators.max=function(e,t){return r.$isEmpty(t)||Ce(d)||t<=d},n.$observe("max",function(e){e!==l&&(d=h(e),l=e,r.$validate())}))}{var f,p;(T(n.step)||n.ngStep)&&(f=n.step||s(n.ngStep)(e),p=h(f),r.$validators.step=function(e,t){return r.$isEmpty(t)||Ce(p)||ko(t,u||0,p)},n.$observe("step",function(e){e!==f&&(p=h(e),f=e,r.$validate())}))}},url:function(e,t,n,r,i,o){go(0,t,n,r,i,o),ho(r),r.$validators.url=function(e,t){e=e||t;return r.$isEmpty(e)||ro.test(e)}},email:function(e,t,n,r,i,o){go(0,t,n,r,i,o),ho(r),r.$validators.email=function(e,t){e=e||t;return r.$isEmpty(e)||io.test(e)}},radio:function(e,n,r,i){var o=!r.ngTrim||"false"!==Pe(r.ngTrim);Ce(r.name)&&n.attr("name",F());n.on("change",function(e){var t;n[0].checked&&(t=r.value,o&&(t=Pe(t)),i.$setViewValue(t,e&&e.type))}),i.$render=function(){var e=r.value;o&&(e=Pe(e)),n[0].checked=e===i.$viewValue},r.$observe("value",i.$render)},range:function(e,r,i,n,t,o){yo(0,r,0,n,"range"),$o(n),go(0,r,i,n,t,o);var a=n.$$hasNativeValidators&&"range"===r[0].type,s=a?0:void 0,u=a?100:void 0,c=a?1:void 0,l=r[0].validity,e=T(i.min),t=T(i.max),o=T(i.step),d=n.$render;n.$render=a&&T(l.rangeUnderflow)&&T(l.rangeOverflow)?function(){d(),n.$setViewValue(r.val())}:d,e&&(s=h(i.min),n.$validators.min=a?function(){return!0}:function(e,t){return n.$isEmpty(t)||Ce(s)||s<=t},f("min",function(e){s=h(e),S(n.$modelValue)||(a?((e=r.val())<s&&(e=s,r.val(e)),n.$setViewValue(e)):n.$validate())}));t&&(u=h(i.max),n.$validators.max=a?function(){return!0}:function(e,t){return n.$isEmpty(t)||Ce(u)||t<=u},f("max",function(e){u=h(e),S(n.$modelValue)||(a?(e=r.val(),u<e&&(r.val(u),e=u<s?s:u),n.$setViewValue(e)):n.$validate())}));o&&(c=h(i.step),n.$validators.step=a?function(){return!l.stepMismatch}:function(e,t){return n.$isEmpty(t)||Ce(c)||ko(t,s||0,c)},f("step",function(e){c=h(e),S(n.$modelValue)||(a?n.$viewValue!==r.val()&&n.$setViewValue(r.val()):n.$validate())}));function f(e,t){r.attr(e,i[e]);var n=i[e];i.$observe(e,function(e){e!==n&&t(n=e)})}},checkbox:function(e,t,n,r,i,o,a,s){var u=xo(s,e,"ngTrueValue",n.ngTrueValue,!0),c=xo(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return Te(e,u)}),r.$parsers.push(function(e){return e?u:c})},hidden:P,button:P,submit:P,reset:P,file:P});function ho(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function go(e,n,r,i,t,o){var a,s,u,c=E(n[0].type),l=(t.android||(a=!1,n.on("compositionstart",function(){a=!0}),n.on("compositionupdate",function(e){!Ce(e.data)&&""!==e.data||(a=!1)}),n.on("compositionend",function(){a=!1,l()})),function(e){var t;s&&(o.defer.cancel(s),s=null),a||(t=n.val(),e=e&&e.type,"password"===c||r.ngTrim&&"false"===r.ngTrim||(t=Pe(t)),(i.$viewValue!==t||""===t&&i.$$hasNativeValidators)&&i.$setViewValue(t,e))});t.hasEvent("input")?n.on("input",l):(u=function(e,t,n){s=s||o.defer(function(){s=null,t&&t.value===n||l(e)})},n.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)}),t.hasEvent("paste")&&n.on("paste cut drop",u)),n.on("change",l),fo[c]&&i.$$hasNativeValidators&&c===r.type&&n.on(lo,function(e){var t,n,r;s||(t=this[g],n=t.badInput,r=t.typeMismatch,s=o.defer(function(){s=null,t.badInput===n&&t.typeMismatch===r||l(e)}))}),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;n.val()!==e&&n.val(e)}}function mo(r,i){return function(e,t){var n;if(k(e))return e;if(Ae(e)){if('"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substring(1,e.length-1)),no.test(e))return new Date(e);if(r.lastIndex=0,e=r.exec(e))return e.shift(),n=t?{yyyy:t.getFullYear(),MM:t.getMonth()+1,dd:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds(),sss:t.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},ke(e,function(e,t){t<i.length&&(n[i[t]]=+e)}),t=new Date(n.yyyy,n.MM-1,n.dd,n.HH,n.mm,n.ss||0,1e3*n.sss||0),n.yyyy<100&&t.setFullYear(n.yyyy),t}return NaN}}function vo(y,$,b,w){return function(e,t,n,r,i,o,a,s){yo(0,t,0,r,y),go(0,t,n,r,i,o);var u,c,l,d,f,p,h="time"===y||"datetimelocal"===y;function g(e){return e&&(!e.getTime||e.getTime()===e.getTime())}function m(e){return T(e)&&!k(e)?v(e)||void 0:e}function v(e,t){var n=r.$options.getOption("timezone"),e=(c&&c!==n&&(t=oe(t,ie(c))),b(e,t));return e=!isNaN(e)&&n?ae(e,n):e}r.$parsers.push(function(e){return r.$isEmpty(e)?null:$.test(e)?v(e,u):void(r.$$parserName=y)}),r.$formatters.push(function(e){if(e&&!k(e))throw ea("datefmt","Expected `{0}` to be a date",e);var t,n;return g(e)?(u=e,(t=r.$options.getOption("timezone"))&&(u=ae(u,c=t,!0)),e=e,t=t,n=w,h&&Ae(r.$options.getOption("timeSecondsFormat"))&&(n=w.replace("ss.sss",r.$options.getOption("timeSecondsFormat")).replace(/:$/,"")),e=a("date")(e,n,t),e=h&&r.$options.getOption("timeStripZeroSeconds")?e.replace(/(?::00)?(?:\.000)?$/,""):e):(c=u=null,"")}),(T(n.min)||n.ngMin)&&(l=n.min||s(n.ngMin)(e),d=m(l),r.$validators.min=function(e){return!g(e)||Ce(d)||b(e)>=d},n.$observe("min",function(e){e!==l&&(d=m(e),l=e,r.$validate())})),(T(n.max)||n.ngMax)&&(f=n.max||s(n.ngMax)(e),p=m(f),r.$validators.max=function(e){return!g(e)||Ce(p)||b(e)<=p},n.$observe("max",function(e){e!==f&&(p=m(e),f=e,r.$validate())}))}}function yo(e,n,t,r,i){var o=n[0];(r.$$hasNativeValidators=Be(o.validity))&&r.$parsers.push(function(e){var t=n.prop(g)||{};if(!t.badInput&&!t.typeMismatch)return e;r.$$parserName=i})}function $o(t){t.$parsers.push(function(e){return t.$isEmpty(e)?null:oo.test(e)?parseFloat(e):void(t.$$parserName="number")}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!b(e))throw ea("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function h(e){return T(e)&&!b(e)&&(e=parseFloat(e)),S(e)?void 0:e}function bo(e){return(0|e)===e}function wo(e){var t=e.toString(),n=t.indexOf(".");if(-1!==n)return t.length-n-1;if(-1<e&&e<1){n=/e-(\d+)$/.exec(t);if(n)return Number(n[1])}return 0}function ko(e,t,n){var r,i,o,e=Number(e),a=!bo(e),s=!bo(t),u=!bo(n);return(a||s||u)&&(i=a?wo(e):0,o=s?wo(t):0,r=u?wo(n):0,i=Math.max(i,o,r),e*=o=Math.pow(10,i),t*=o,n*=o,a&&(e=Math.round(e)),s&&(t=Math.round(t)),u&&(n=Math.round(n))),(e-t)%n==0}function xo(e,t,n,r,i){if(T(r)){if((e=e(r)).constant)return e(t);throw ea("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r)}return i}function Co(){var i={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(e,t){if("hidden"===E(t.type))return{pre:function(e,t,n,r){t=t[0];t.parentNode&&t.parentNode.insertBefore(t,t.nextSibling),Object.defineProperty&&Object.defineProperty(t,"value",i)}}}}}function Bo(){function r(e,t,n){var r=T(n)?n:9===Oe?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,t){return Eo.test(t.ngValue)?function(e,t,n){r(t,n,e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){r(t,n,e)})}}}}var Ao=["$browser","$sniffer","$filter","$parse",function(i,o,a,s){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,t,n,r){r[0]&&(po[E(n.type)]||po.text)(e,t,n,r[0],o,i,a,s)}}}}],Eo=/^(true|false|\d+)$/,So=["$compile",function(r){return{restrict:"AC",compile:function(e){return r.$$addBindingClass(e),function(e,t,n){r.$$addBindingInfo(t,n.ngBind),t=t[0],e.$watch(n.ngBind,function(e){t.textContent=Ke(e)})}}}}],Po=["$interpolate","$compile",function(i,o){return{compile:function(e){return o.$$addBindingClass(e),function(e,t,n){var r=i(t.attr(n.$attr.ngBindTemplate));o.$$addBindingInfo(t,r.expressions),t=t[0],n.$observe("ngBindTemplate",function(e){t.textContent=Ce(e)?"":e})}}}}],To=["$sce","$parse","$compile",function(o,n,a){return{restrict:"A",compile:function(e,t){var r=n(t.ngBindHtml),i=n(t.ngBindHtml,function(e){return o.valueOf(e)});return a.$$addBindingClass(e),function(t,n,e){a.$$addBindingInfo(n,e.ngBindHtml),t.$watch(i,function(){var e=r(t);n.html(o.getTrustedHtml(e)||"")})}}}}],_o=A({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function Mo(u,c){var l;return u="ngClass"+u,["$parse",function(s){return{restrict:"AC",link:function(e,t,r){var n,i=t.data("$classCounts"),o=!0;function a(e,t){var n=[];return ke(e,function(e){(0<t||i[e])&&(i[e]=(i[e]||0)+t,i[e]===+(0<t)&&n.push(e))}),n.join(" ")}i||(i=_e(),t.data("$classCounts",i)),"ngClass"!==u&&(l=l||s("$index",function(e){return 1&e}),e.$watch(l,function(e){(e===c?function(e){e=a(f(e),1),r.$addClass(e)}:function(e){e=a(f(e),-1),r.$removeClass(e)})(n);o=e})),e.$watch(s(r[u],p),function(e){o===c&&!function(e,t){var e=f(e),t=f(t),n=d(e,t),t=d(t,e),e=a(n,-1),n=a(t,1);r.$addClass(n),r.$removeClass(e)}(n,e);n=e})}}}];function d(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function f(e){return e&&e.split(" ")}function p(t){if(!t)return t;var e=t;return Ee(t)?e=t.map(p).join(" "):Be(t)?e=Object.keys(t).filter(function(e){return t[e]}).join(" "):Ae(t)||(e=t+""),e}}var Do=Mo("",!0),Oo=Mo("Odd",0),No=Mo("Even",1),jo=Hi({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Fo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Io={},Lo={blur:!0,focus:!0};function Ro(n,i,o,a,s,u){return{restrict:"A",compile:function(e,t){var r=n(t[a]);return function(n,e){e.on(s,function(e){function t(){r(n,{$event:e})}if(i.$$phase)if(u)n.$evalAsync(t);else try{t()}catch(e){o(e)}else n.$apply(t)})}}}}ke("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(r){var i=De("ng-"+r);Io[i]=["$parse","$rootScope","$exceptionHandler",function(e,t,n){return Ro(e,t,n,i,r,Lo[r])}]});function qo(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,a=o?Pe(i):i;r.$parsers.push(function(e){var t;if(!Ce(e))return t=[],e&&ke(e.split(a),function(e){e&&t.push(o?Pe(e):e)}),t}),r.$formatters.push(function(e){if(Ee(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}}var Uo=["$animate","$compile",function(u,c){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var o,a,s;e.$watch(r.ngIf,function(e){e?a||i(function(e,t){a=t,e[e.length++]=c.$$createComment("end ngIf",r.ngIf),o={clone:e},u.enter(e,n.parent(),n)}):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=Ze(o.clone),u.leave(s).done(function(e){!1!==e&&(s=null)}),o=null))})}}}],Ho=["$templateRequest","$animate",function(g,m){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:$.noop,compile:function(e,t){var n=t.ngInclude||t.src,p=t.onload||"",h=t.autoscroll;return function(o,a,e,s,u){function c(){t&&(t.remove(),t=null),l&&(l.$destroy(),l=null),d&&(m.leave(d).done(function(e){!1!==e&&(t=null)}),t=d,d=null)}var l,t,d,f=0;o.$watch(n,function(n){function r(e){!1===e||!T(h)||h&&o.$eval(h)}var i=++f;n?(g(n,!0).then(function(e){var t;o.$$destroyed||i===f&&(t=o.$new(),s.template=e,e=u(t,function(e){c(),m.enter(e,null,a).done(r)}),d=e,(l=t).$emit("$includeContentLoaded",n),o.$eval(p))},function(){o.$$destroyed||i===f&&(c(),o.$emit("$includeContentError",n))}),o.$emit("$includeContentRequested",n)):(c(),s.template=null)})}}}}],Vo=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,n,r){if(v.call(t[0]).match(/SVG/))return t.empty(),void i(xt(r.template,$e.document).childNodes)(e,function(e){t.append(e)},{futureParentElement:t});t.html(r.template),i(t.contents())(e)}}}],zo=Hi({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Wo="ng-valid",Go="ng-invalid",Xo="ng-pristine",Zo="ng-dirty",Ko="ng-untouched",Jo="ng-touched",Yo="ng-empty",Qo="ng-not-empty",ea=x("ngModel");function ta(e,t,n,r,i,o,a,s,u){var c;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Wi,this.$options=aa,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,Qi(this),(c=this).$$scope.$watch(function(e){e=c.$$ngModelGet(e);return e===c.$modelValue||c.$modelValue!=c.$modelValue&&e!=e||c.$$setModelValue(e),e})}ta.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],ta.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var n=this.$$parse(this.$$attr.ngModel+"()"),r=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var t=this.$$parsedNgModel(e);return t=Se(t)?n(e):t},this.$$ngModelSet=function(e,t){Se(this.$$parsedNgModel(e))?r(e,{$$$p:t}):this.$$parsedNgModelAssign(e,t)}}else if(!this.$$parsedNgModel.assign)throw ea("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ze(this.$$element))},$render:P,$isEmpty:function(e){return Ce(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Qo),this.$$animate.addClass(this.$$element,Yo)):(this.$$animate.removeClass(this.$$element,Yo),this.$$animate.addClass(this.$$element,Qo))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Zo),this.$$animate.addClass(this.$$element,Xo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Xo),this.$$animate.addClass(this.$$element,Zo),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Ko,Jo)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Jo,Ko)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){var e,t,n,r,i,o;S(this.$modelValue)||(e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),(o=this).$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))},$$runValidators:function(n,r,t){this.$$currentValidationRunId++;var i,o,a,s=this.$$currentValidationRunId,u=this;function c(e,t){s===u.$$currentValidationRunId&&u.$setValidity(e,t)}function e(e){s===u.$$currentValidationRunId&&t(e)}!function(){var e=u.$$parserName;{if(!Ce(u.$$parserValid))return u.$$parserValid||(ke(u.$validators,function(e,t){c(t,null)}),ke(u.$asyncValidators,function(e,t){c(t,null)})),c(e,u.$$parserValid),u.$$parserValid;c(e,null)}return 1}()?e(!1):(i=!0,ke(u.$validators,function(e,t){e=Boolean(e(n,r));i=i&&e,c(t,e)}),!i&&(ke(u.$asyncValidators,function(e,t){c(t,null)}),1)?e(!1):(o=[],a=!0,ke(u.$asyncValidators,function(e,t){e=e(n,r);if(!z(e))throw ea("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",e);c(t,void 0),o.push(e.then(function(){c(t,!0)},function(){c(t,a=!1)}))}),o.length?u.$$q.all(o).then(function(){e(a)},P):e(!0)))},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var t=this.$$lastCommittedViewValue,n=this;if(this.$$parserValid=!Ce(t)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var e=0;e<this.$parsers.length;e++)if(Ce(t=this.$parsers[e](t))){this.$$parserValid=!1;break}S(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){n.$modelValue!==r&&n.$$writeModelToScope()}this.$$rawModelValue=t,i&&(this.$modelValue=t,o()),this.$$runValidators(t,this.$$lastCommittedViewValue,function(e){i||(n.$modelValue=e?t:void 0,o())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),ke(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce"),n=(b(t[e])?t=t[e]:b(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:b(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce),this);0<t?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,P))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},eo({clazz:ta,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var na=["$rootScope",function(a){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:ta,priority:1,compile:function(e){return e.addClass(Xo).addClass(Ko).addClass(Wo),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,r=r[2];r&&(i.$options=r.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,t,n,r){var i=r[0];function o(){i.$setTouched()}i.$$setUpdateOnEvents(),t.on("blur",function(){i.$touched||(a.$$phase?e.$evalAsync(o):e.$apply(o))})}}}}}],ra=/(\s+|^)default(\s+|$)/;function ia(e){this.$$options=e}ia.prototype={getOption:function(e){return this.$$options[e]},createChild:function(n){var r=!1;return ke(n=xe({},n),function(e,t){"$inherit"===e?"*"===t?r=!0:(n[t]=this.$$options[t],"updateOn"===t&&(n.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===t&&(n.updateOnDefault=!1,n[t]=Pe(e.replace(ra,function(){return n.updateOnDefault=!0," "})))},this),r&&(delete n["*"],sa(n,this.$$options)),sa(n,aa.$$options),new ia(n)}};function oa(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:aa,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}}var aa=new ia({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});function sa(n,e){ke(e,function(e,t){T(n[t])||(n[t]=e)})}var ua=Hi({terminal:!0,priority:1e3}),ca=x("ngOptions"),la=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,da=["$compile","$document","$parse",function(g,m,a){function v(e,t,c){var s=e.match(la);if(!s)throw ca("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ze(t));function l(e,t){return p(e,y(e,t))}var n=s[5]||s[7],r=s[6],e=/ as /.test(s[0])&&s[1],d=s[9],t=a(s[2]?s[1]:n),f=e&&a(e)||t,i=d&&a(d),p=d?function(e,t){return i(c,t)}:function(e){return Yt(e)},h=a(s[2]||s[1]),g=a(s[3]||""),m=a(s[4]||""),v=a(s[8]),o={},y=r?function(e,t){return o[r]=t,o[n]=e,o}:function(e){return o[n]=e,o};function $(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function b(e){var t;if(!r&&N(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:d,getTrackByValue:l,getWatchables:a(v,function(e){for(var t=[],n=b(e=e||[]),r=n.length,i=0;i<r;i++){var o=e===n?i:n[i],a=e[o],o=y(a,o),a=p(a,o);t.push(a),(s[2]||s[1])&&(a=h(c,o),t.push(a)),s[4]&&(a=m(c,o),t.push(a))}return t}),getOptions:function(){for(var e=[],t={},n=v(c)||[],r=b(n),i=r.length,o=0;o<i;o++){var a=n===r?o:r[o],s=n[a],s=y(s,a),a=f(c,s),u=p(a,s),a=new $(u,a,h(c,s),g(c,s),m(c,s));e.push(a),t[u]=a}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[l(e)]},getViewValueFromOption:function(e){return d?K(e.viewValue):e.viewValue}}}}}var y=$e.document.createElement("option"),$=$e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=P},post:function(e,o,t,n){for(var a=n[0],s=n[1],u=t.multiple,r=0,i=o.children(),c=i.length;r<c;r++)if(""===i[r].value){a.hasEmptyOption=!0,a.emptyOption=i.eq(r);break}o.empty();var l,n=!!a.emptyOption,d=(be(y.cloneNode(!1)).val("?"),v(t.ngOptions,o,e)),f=m[0].createDocumentFragment();function p(e,t){var n=y.cloneNode(!1),t=(t.appendChild(n),e),e=n;(t.element=e).disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}function h(e){var e=l.getOptionFromViewValue(e),t=e&&e.element;return t&&!t.selected&&(t.selected=!0),e}a.generateUnknownOptionValue=function(e){return"?"},u?(a.writeValue=function(e){var t;l&&(t=e&&e.map(h)||[],l.items.forEach(function(e){e.element.selected&&!Z(t,e)&&(e.element.selected=!1)}))},a.readValue=function(){var e=o.val()||[],t=[];return ke(e,function(e){e=l.selectValueMap[e];e&&!e.disabled&&t.push(l.getViewValueFromOption(e))}),t},d.trackBy&&e.$watchCollection(function(){if(Ee(s.$viewValue))return s.$viewValue.map(function(e){return d.getTrackByValue(e)})},function(){s.$render()})):(a.writeValue=function(e){var t,n;l&&(t=o[0].options[o[0].selectedIndex],n=l.getOptionFromViewValue(e),t&&t.removeAttribute("selected"),n?(o[0].value!==n.selectValue&&(a.removeUnknownOption(),o[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):a.selectUnknownOrEmptyOption(e))},a.readValue=function(){var e=l.selectValueMap[o.val()];return e&&!e.disabled?(a.unselectEmptyOption(),a.removeUnknownOption(),l.getViewValueFromOption(e)):null},d.trackBy&&e.$watch(function(){return d.getTrackByValue(s.$viewValue)},function(){s.$render()})),n&&(g(a.emptyOption)(e),o.prepend(a.emptyOption),a.emptyOption[0].nodeType===Qe?(a.hasEmptyOption=!1,a.registerOption=function(e,t){""===t.val()&&(a.hasEmptyOption=!0,a.emptyOption=t,a.emptyOption.removeClass("ng-scope"),s.$render(),t.on("$destroy",function(){var e=a.$isEmptyOptionSelected();a.hasEmptyOption=!1,a.emptyOption=void 0,e&&s.$render()}))}):a.emptyOption.removeClass("ng-scope")),e.$watchCollection(d.getWatchables,function(){var e=l&&a.readValue();if(l)for(var t=l.items.length-1;0<=t;t--){var n=l.items[t];T(n.group)?Rt(n.element.parentNode):Rt(n.element)}l=d.getOptions();var r={};{var i;l.items.forEach(function(e){var t;T(e.group)?((t=r[e.group])||(t=$.cloneNode(!1),f.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),p(e,t)):p(e,f)}),o[0].appendChild(f),s.$render(),s.$isEmpty(e)||(i=a.readValue(),(d.trackBy||u?Te(e,i):e===i)||(s.$setViewValue(i),s.$render()))}})}}}}],fa=["$locale","$interpolate","$log",function(h,g,m){var v=/{}/g,y=/^when(Minus)?(.+)$/;return{link:function(r,i,o){var a,e=o.count,s=o.$attr.when&&i.attr(o.$attr.when),u=o.offset||0,c=r.$eval(s)||{},l={},t=g.startSymbol(),n=g.endSymbol(),d=t+e+"-"+u+n,f=$.noop;function p(e){i.text(e||"")}ke(o,function(e,t){var n=y.exec(t);n&&(n=(n[1]?"-":"")+E(n[2]),c[n]=i.attr(o.$attr[t]))}),ke(c,function(e,t){l[t]=g(e.replace(v,d))}),r.$watch(e,function(e){var t=parseFloat(e),n=S(t);(t=n||t in c?t:h.pluralCat(t-u))===a||n&&S(a)||(f(),Ce(n=l[t])?(null!=e&&m.debug("ngPluralize: no rule defined for '"+t+"' in "+s),f=P,p()):f=r.$watch(n,p),a=t)})}}}],pa=x("ngRef"),ha=["$parse",function(t){return{priority:-1,restrict:"A",compile:function(e,i){var o=De(Re(e)),a=t(i.ngRef),s=a.assign||function(){throw pa("nonassign",'Expression in ngRef="{0}" is non-assignable!',i.ngRef)};return function(e,t,n){var r;if(n.hasOwnProperty("ngRefRead")){if("$element"===n.ngRefRead)r=t;else if(!(r=t.data("$"+n.ngRefRead+"Controller")))throw pa("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',n.ngRefRead,i.ngRef)}else r=t.data("$"+o+"Controller");s(e,r=r||t),t.on("$destroy",function(){a(e)===r&&s(e,null)})}}}}],ga=["$parse","$animate","$compile",function(a,P,s){function T(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))}function _(e,t,n){return Yt(n)}function M(e,t){return t}var D="$$NG_REMOVED",O=x("ngRepeat");return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,t){var k=t.ngRepeat,x=s.$$createComment("end ngRepeat",k),t=k.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!t)throw O("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",k);var n=t[1],r=t[2],C=t[3],i=t[4];if(!(t=n.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw O("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",n);var B,o,A,E=t[3]||t[1],S=t[2];if(!C||/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(C)&&!/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(C))return i&&(B={$id:Yt},o=a(i),A=function(e,t,n,r){return S&&(B[S]=t),B[E]=n,B.$index=r,o(e,B)}),function(y,$,e,t,b){var w=_e();y.$watchCollection(r,function(e){var n,t,r,i,o,a,s,u,c,l,d,f,p,h,g=$[0],m=_e();if(C&&(y[C]=e),N(e))c=e,u=A||_;else for(var v in u=A||M,c=[],e)we.call(e,v)&&"$"!==v.charAt(0)&&c.push(v);for(i=c.length,d=new Array(i),n=0;n<i;n++)if(o=e===c?n:c[n],a=e[o],s=u(y,o,a,n),w[s])l=w[s],delete w[s],m[s]=l,d[n]=l;else{if(m[s])throw ke(d,function(e){e&&e.scope&&(w[e.id]=e)}),O("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",k,s,a);d[n]={id:s,scope:void 0,clone:void 0},m[s]=!0}for(p in B&&(B[E]=void 0),w){if(f=Ze((l=w[p]).clone),P.leave(f),f[0].parentNode)for(n=0,t=f.length;n<t;n++)f[n][D]=!0;l.scope.$destroy()}for(n=0;n<i;n++)if(o=e===c?n:c[n],a=e[o],(l=d[n]).scope){for(r=g;(r=r.nextSibling)&&r[D];);l.clone[0]!==r&&P.move(Ze(l.clone),null,g),g=(h=l).clone[h.clone.length-1],T(l.scope,n,E,a,S,o,i)}else b(function(e,t){l.scope=t;t=x.cloneNode(!1);e[e.length++]=t,P.enter(e,null,g),g=t,l.clone=e,m[l.id]=l,T(l.scope,n,E,a,S,o,i)});w=m})};throw O("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",C)}}}],ma="ng-hide",va="ng-hide-animate",ya=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngShow,function(e){r[e?"removeClass":"addClass"](t,ma,{tempClasses:va})})}}}],$a=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngHide,function(e){r[e?"addClass":"removeClass"](t,ma,{tempClasses:va})})}}}],ba=Hi(function(e,n,t){e.$watchCollection(t.ngStyle,function(e,t){t&&e!==t&&ke(t,function(e,t){n.css(t,"")}),e&&n.css(e)})}),wa=["$animate","$compile",function(c,l){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,t,n,i){var o,n=n.ngSwitch||n.on,a=[],s=[],u=[];e.$watch(n,function(e){for(var t,n;s.length;)c.cancel(s.pop());for(t=0,n=u.length;t<n;++t){var r=Ze(a[t].clone);u[t].$destroy(),(s[t]=c.leave(r)).done(function(t,n){return function(e){!1!==e&&t.splice(n,1)}}(s,t))}a.length=0,u.length=0,(o=i.cases["!"+e]||i.cases["?"])&&ke(o,function(n){n.transclude(function(e,t){u.push(t);t=n.element;e[e.length++]=l.$$createComment("end ngSwitchWhen"),a.push({clone:e}),c.enter(e,t.parent(),t)})})})}}}],ka=Hi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){ke(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),xa=Hi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ca=x("ngTransclude"),Ba=["$compile",function(t){return{restrict:"EAC",compile:function(e){var a=t(e.contents());return e.empty(),function(e,n,t,r,i){if(!i)throw Ca("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ze(n));t.ngTransclude===t.$attr.ngTransclude&&(t.ngTransclude="");t=t.ngTransclude||t.ngTranscludeSlot;function o(){a(e,function(e){n.append(e)})}i(function(e,t){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Ye||r.nodeValue.trim())return 1}}(e)?n.append(e):(o(),t.$destroy())},null,t),t&&!i.isSlotFilled(t)&&o()}}}}],Aa=["$templateCache",function(n){return{restrict:"E",terminal:!0,compile:function(e,t){"text/ng-template"===t.type&&(t=t.id,e=e[0].text,n.put(t,e))}}}],Ea={$setViewValue:P,$render:P};function Sa(e,t){e.prop("selected",t),e.attr("selected",t)}function Pa(){return{restrict:"E",require:["select","?ngModel"],controller:_a,priority:1,link:{pre:function(e,r,t,n){var i,o,a=n[0],s=n[1];s?(a.ngModelCtrl=s,r.on("change",function(){a.removeUnknownOption(),e.$apply(function(){s.$setViewValue(a.readValue())})}),t.multiple&&(a.multiple=!0,a.readValue=function(){var t=[];return ke(r.find("option"),function(e){e.selected&&!e.disabled&&(e=e.value,t.push(e in a.selectValueMap?a.selectValueMap[e]:e))}),t},a.writeValue=function(n){ke(r.find("option"),function(e){var t=!!n&&(Z(n,e.value)||Z(n,a.selectValueMap[e.value]));t!==e.selected&&Sa(be(e),t)})},o=NaN,e.$watch(function(){o!==s.$viewValue||Te(i,s.$viewValue)||(i=C(s.$viewValue),s.$render()),o=s.$viewValue}),s.$isEmpty=function(e){return!e||0===e.length})):a.registerOption=P},post:function(e,t,n,r){var i,o=r[1];o&&(i=r[0],o.$render=function(){i.writeValue(o.$viewValue)})}}}}var Ta,_a=["$element","$scope",function(n,t){var s=this,r=new tn,e=(s.selectValueMap={},s.ngModelCtrl=Ea,s.multiple=!1,s.unknownOption=be($e.document.createElement("option")),s.hasEmptyOption=!1,s.emptyOption=void 0,s.renderUnknownOption=function(e){e=s.generateUnknownOptionValue(e);s.unknownOption.val(e),n.prepend(s.unknownOption),Sa(s.unknownOption,!0),n.val(e)},s.updateUnknownOption=function(e){e=s.generateUnknownOptionValue(e);s.unknownOption.val(e),Sa(s.unknownOption,!0),n.val(e)},s.generateUnknownOptionValue=function(e){return"? "+Yt(e)+" ?"},s.removeUnknownOption=function(){s.unknownOption.parent()&&s.unknownOption.remove()},s.selectEmptyOption=function(){s.emptyOption&&(n.val(""),Sa(s.emptyOption,!0))},s.unselectEmptyOption=function(){s.hasEmptyOption&&Sa(s.emptyOption,!1)},t.$on("$destroy",function(){s.renderUnknownOption=P}),s.readValue=function(){var e=n.val(),e=e in s.selectValueMap?s.selectValueMap[e]:e;return s.hasOption(e)?e:null},s.writeValue=function(e){var t=n[0].options[n[0].selectedIndex];t&&Sa(be(t),!1),s.hasOption(e)?(s.removeUnknownOption(),t=Yt(e),n.val(t in s.selectValueMap?t:e),t=n[0].options[n[0].selectedIndex],Sa(be(t),!0)):s.selectUnknownOrEmptyOption(e)},s.addOption=function(e,t){t[0].nodeType!==Qe&&(Xe(e,'"option value"'),""===e&&(s.hasEmptyOption=!0,s.emptyOption=t),t=r.get(e)||0,r.set(e,t+1),u())},s.removeOption=function(e){var t=r.get(e);t&&(1===t?(r.delete(e),""===e&&(s.hasEmptyOption=!1,s.emptyOption=void 0)):r.set(e,t-1))},s.hasOption=function(e){return!!r.get(e)},s.$hasEmptyOption=function(){return s.hasEmptyOption},s.$isUnknownOptionSelected=function(){return n[0].options[0]===s.unknownOption[0]},s.$isEmptyOptionSelected=function(){return s.hasEmptyOption&&n[0].options[n[0].selectedIndex]===s.emptyOption[0]},!(s.selectUnknownOrEmptyOption=function(e){null==e&&s.emptyOption?(s.removeUnknownOption(),s.selectEmptyOption()):s.unknownOption.parent().length?s.updateUnknownOption(e):s.renderUnknownOption(e)}));function u(){e||(e=!0,t.$$postDigest(function(){e=!1,s.ngModelCtrl.$render()}))}var i=!1;function c(e){i||(i=!0,t.$$postDigest(function(){t.$$destroyed||(i=!1,s.ngModelCtrl.$setViewValue(s.readValue()),e&&s.ngModelCtrl.$render())}))}s.registerOption=function(e,r,i,t,n){var o,a;i.$attr.ngValue?i.$observe("value",function(e){var t,n=r.prop("selected");T(a)&&(s.removeOption(o),delete s.selectValueMap[a],t=!0),a=Yt(e),o=e,s.selectValueMap[a]=e,s.addOption(e,r),r.attr("value",a),t&&n&&c()}):t?i.$observe("value",function(e){s.readValue();var t,n=r.prop("selected");T(o)&&(s.removeOption(o),t=!0),o=e,s.addOption(e,r),t&&n&&c()}):n?e.$watch(n,function(e,t){i.$set("value",e);var n=r.prop("selected");t!==e&&s.removeOption(t),s.addOption(e,r),t&&n&&c()}):s.addOption(i.value,r),i.$observe("disabled",function(e){("true"===e||e&&r.prop("selected"))&&(s.multiple?c(!0):(s.ngModelCtrl.$setViewValue(null),s.ngModelCtrl.$render()))}),r.on("$destroy",function(){var e=s.readValue(),t=i.value;s.removeOption(t),u(),(s.multiple&&e&&-1!==e.indexOf(t)||e===t)&&c(!0)})}}],Ma=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(e,t){var o,a;return T(t.ngValue)||(T(t.value)?o=n(t.value,!0):(a=n(e.text(),!0))||t.$set("value",e.text())),function(e,t,n){var r="$selectController",i=t.parent(),i=i.data(r)||i.parent().data(r);i&&i.registerOption(e,t,n,o,a)}}}}],Da=["$parse",function(o){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i;r&&(i=n.hasOwnProperty("required")||o(n.ngRequired)(e),n.ngRequired||(n.required=!0),r.$validators.required=function(e,t){return!i||!r.$isEmpty(t)},n.$observe("required",function(e){i!==e&&(i=e,r.$validate())}))}}}],Oa=["$parse",function(n){return{restrict:"A",require:"?ngModel",compile:function(e,t){var a,s;return t.ngPattern&&(a=t.ngPattern,s="/"===t.ngPattern.charAt(0)&&p.test(t.ngPattern)?function(){return t.ngPattern}:n(t.ngPattern)),function(e,n,t,r){var i,o;r&&(i=t.pattern,t.ngPattern?i=s(e):a=t.pattern,o=Fa(i,a,n),t.$observe("pattern",function(e){var t=o;o=Fa(e,a,n),(t&&t.toString())!==(o&&o.toString())&&r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||Ce(o)||o.test(t)})}}}}],Na=["$parse",function(a){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i,o;r&&(i=n.maxlength||a(n.ngMaxlength)(e),o=Ia(i),n.$observe("maxlength",function(e){i!==e&&(o=Ia(e),i=e,r.$validate())}),r.$validators.maxlength=function(e,t){return o<0||r.$isEmpty(t)||t.length<=o})}}}],ja=["$parse",function(a){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i,o;r&&(i=n.minlength||a(n.ngMinlength)(e),o=Ia(i)||-1,n.$observe("minlength",function(e){i!==e&&(o=Ia(e)||-1,i=e,r.$validate())}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=o})}}}];function Fa(e,t,n){if(e){if((e=Ae(e)?new RegExp("^"+e+"$"):e).test)return e;throw x("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,ze(n))}}function Ia(e){e=y(e);return S(e)?-1:e}$e.angular.bootstrap?$e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(me||(i=Y(),(ao=Ce(i)?$e.jQuery:i?$e[i]:void 0)&&ao.fn.on?xe((be=ao).fn,{scope:Ut.scope,isolateScope:Ut.isolateScope,controller:Ut.controller,injector:Ut.injector,inheritedData:Ut.inheritedData}):be=s,Ta=be.cleanData,be.cleanData=function(e){for(var t,n,r=0;null!=(n=e[r]);r++)(t=(be._data(n)||{}).events)&&t.$destroy&&be(n).triggerHandler("$destroy");Ta(e)},$.element=be,me=!0),xe($,{errorHandlingConfig:n,bootstrap:fe,copy:K,extend:xe,merge:R,equals:Te,element:be,forEach:ke,injector:fn,noop:P,bind:Ve,toJson:te,fromJson:ne,identity:je,isUndefined:Ce,isDefined:T,isString:Ae,isFunction:Se,isObject:Be,isNumber:b,isElement:X,isArray:Ee,version:rt,isDate:k,callbacks:{$$counter:0},getTestability:he,reloadWithDebugInfo:pe,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:ve,$$minErr:x,$$csp:J,$$encodeUriSegment:ce,$$encodeUriQuery:o,$$lowercase:E,$$stringify:Ke,$$uppercase:B}),(m=tt($e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Yr}),e.provider("$compile",Pn).directive({a:Vi,input:Ao,textarea:Ao,form:Ji,script:Aa,select:Pa,option:Ma,ngBind:So,ngBindHtml:To,ngBindTemplate:Po,ngClass:Do,ngClassEven:No,ngClassOdd:Oo,ngCloak:jo,ngController:Fo,ngForm:Yi,ngHide:$a,ngIf:Uo,ngInclude:Ho,ngInit:zo,ngNonBindable:ua,ngPluralize:fa,ngRef:ha,ngRepeat:ga,ngShow:ya,ngStyle:ba,ngSwitch:wa,ngSwitchWhen:ka,ngSwitchDefault:xa,ngOptions:da,ngTransclude:Ba,ngModel:na,ngList:qo,ngChange:_o,pattern:Oa,ngPattern:Oa,required:Da,ngRequired:Da,minlength:ja,ngMinlength:ja,maxlength:Na,ngMaxlength:Na,ngValue:Bo,ngModelOptions:oa}).directive({ngInclude:Vo,input:Co}).directive(zi).directive(Io),e.provider({$animate:xn,$animateCss:kn,$$animateJs:yn,$$animateQueue:$n,$$AnimateRunner:wn,$$animateAsyncRun:bn,$browser:Bn,$cacheFactory:An,$controller:Fn,$document:In,$$isDocumentHidden:Ln,$exceptionHandler:Rn,$filter:bi,$$forceReflow:qn,$interpolate:ar,$interval:ur,$$intervalFactory:cr,$http:nr,$httpParamSerializer:Zn,$httpParamSerializerJQLike:Kn,$httpBackend:ir,$xhrFactory:rr,$jsonpCallbacks:lr,$log:Ar,$parse:Vr,$rootScope:Jr,$q:zr,$$q:Wr,$sce:ii,$sceDelegate:ri,$sniffer:oi,$$taskTrackerFactory:ai,$templateCache:En,$templateRequest:ci,$$testability:li,$timeout:fi,$window:vi,$$rAF:Kr,$$jqLite:Jt,$$Map:nn,$$cookieReader:$i})}]).info({angularVersion:"1.8.2"}),$.module("ngLocale",[],["$provide",function(e){var o="one",a="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n,r,i=0|e;return e=e,void 0===(t=t)&&(t=Math.min((r=e,-1==(n=(r+="").indexOf("."))?0:r.length-n-1),3)),r=Math.pow(10,t),1==i&&0=={v:t,f:(e*r|0)%r}.v?o:a}})}]))}(window),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Autolinker=t()}(this,function(){"use strict";function s(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function t(e,t){for(var n=e.length-1;0<=n;n--)!0===t(e[n])&&e.splice(n,1)}function B(e){throw new Error("Unhandled case for value: '"+e+"'")}e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,i=n?n.split(r):[],o=e.split(r);t=o.shift();)-1===s(i,t)&&i.push(t);return this.getAttrs().class=i.join(" "),this},e.prototype.removeClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,i=n?n.split(r):[],o=e.split(r);i.length&&(t=o.shift());){var a=s(i,t);-1!==a&&i.splice(a,1)}return this.getAttrs().class=i.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),"</",e,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e,t=this.getAttrs(),n=[];for(e in t)t.hasOwnProperty(e)&&n.push(e+'="'+t[e]+'"');return n.join(" ")};var n=e;function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}function j(e,t,i){function n(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t}function r(e,t){var t=t/2,n=Math.ceil(t),t=-1*Math.floor(t),r="";return t<0&&(r=e.substr(t)),e.substr(0,n)+i+r}var o=null==i?(i="&hellip;",l=3,8):(l=i.length,i.length);if(e.length<=t)return e;var a=t-l,s=(u={},(c=(s=e).match(/^([a-z]+):\/\//i))&&(u.scheme=c[1],s=s.substr(c[0].length)),(c=s.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(u.host=c[1],s=s.substr(c[0].length)),(c=s.match(/^\/(.*?)(?=(\?|#|$))/i))&&(u.path=c[1],s=s.substr(c[0].length)),(c=s.match(/^\?(.*?)(?=(#|$))/i))&&(u.query=c[1],s=s.substr(c[0].length)),(c=s.match(/^#(.*?)$/i))&&(u.fragment=c[1]),u);if(!s.query||(c=s.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i))&&(s.query=s.query.substr(0,c[1].length),e=n(s)),e.length<=t)return e;if(s.host&&(s.host=s.host.replace(/^www\./,""),e=n(s)),e.length<=t)return e;var u="";if(s.host&&(u+=s.host),u.length>=a)return(s.host.length==t?s.host.substr(0,t-l)+i:r(u,a)).substr(0,a+o);var c="";if(s.path&&(c+="/"+s.path),s.query&&(c+="?"+s.query),c){if(a<=(u+c).length)return(u+c).length==t?(u+c).substr(0,t):(u+r(c,a-u.length)).substr(0,a+o);u+=c}if(s.fragment){e="#"+s.fragment;if(a<=(u+e).length)return(u+e).length==t?(u+e).substr(0,t):(u+r(e,a-u.length)).substr(0,a+o);else u+=e}if(s.scheme&&s.host){var l=s.scheme+"://";if((u+l).length<a)return(l+u).substr(0,t)}if(u.length<=t)return u;c="";return 0<a&&(c=u.substr(-1*Math.floor(a/2))),(u.substr(0,Math.ceil(a/2))+i+c).substr(0,a+o)}r.prototype.build=function(e){return new n({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},r.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(t.title=e.getAnchorHref()),t},r.prototype.createCssClass=function(e){var t=this.className;if(t){for(var n=[t],r=e.getCssClassSuffixes(),i=0,o=r.length;i<o;i++)n.push(t+"-"+r[i]);return n.join(" ")}return""},r.prototype.processAnchorText=function(e){return e=this.doTruncate(e)},r.prototype.doTruncate=function(e){var t=this.truncate;if(!t||!t.length)return e;var n=t.length,t=t.location;if("smart"===t)return j(e,n);if("middle"!==t)return t=t=n,i=i,(o=o=e).length>t&&(a=null==i?(i="&hellip;",3):i.length,o=o.substring(0,t-a)+i),o;t=e,a=n,i=void 0;if(t.length<=a)return t;var r,i,o=null==i?(i="&hellip;",r=8,3):(r=i.length,i.length),a=a-o,o="";return 0<a&&(o=t.substr(-1*Math.floor(a/2))),(t.substr(0,Math.ceil(a/2))+i+o).substr(0,a+r)};var F=r;function r(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}o.prototype.getMatchedText=function(){return this.matchedText},o.prototype.setOffset=function(e){this.offset=e},o.prototype.getOffset=function(){return this.offset},o.prototype.getCssClassSuffixes=function(){return[this.getType()]},o.prototype.buildTag=function(){return this.tagBuilder.build(this)};var i=o;function o(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}var I=function(e,t){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var L,A=function(){return(A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},R=(a(u,L=i),u.prototype.getType=function(){return"email"},u.prototype.getEmail=function(){return this.email},u.prototype.getAnchorHref=function(){return"mailto:"+this.email},u.prototype.getAnchorText=function(){return this.email},u);function u(e){var t=L.call(this,e)||this;return t.email="",t.email=e.email,t}a(c,q=i),c.prototype.getType=function(){return"hashtag"},c.prototype.getServiceName=function(){return this.serviceName},c.prototype.getHashtag=function(){return this.hashtag},c.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+t;case"facebook":return"https://www.facebook.com/hashtag/"+t;case"instagram":return"https://instagram.com/explore/tags/"+t;default:throw new Error("Unknown service name to point hashtag to: "+e)}},c.prototype.getAnchorText=function(){return"#"+this.hashtag};var q,U=c;function c(e){var t=q.call(this,e)||this;return t.serviceName="",t.hashtag="",t.serviceName=e.serviceName,t.hashtag=e.hashtag,t}a(d,l=i),d.prototype.getType=function(){return"mention"},d.prototype.getMention=function(){return this.mention},d.prototype.getServiceName=function(){return this.serviceName},d.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},d.prototype.getAnchorText=function(){return"@"+this.mention},d.prototype.getCssClassSuffixes=function(){var e=l.prototype.getCssClassSuffixes.call(this),t=this.getServiceName();return t&&e.push(t),e};var l,H=d;function d(e){var t=l.call(this,e)||this;return t.serviceName="twitter",t.mention="",t.mention=e.mention,t.serviceName=e.serviceName,t}a(f,V=i),f.prototype.getType=function(){return"phone"},f.prototype.getPhoneNumber=function(){return this.number},f.prototype.getNumber=function(){return this.getPhoneNumber()},f.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},f.prototype.getAnchorText=function(){return this.matchedText};var V,z=f;function f(e){var t=V.call(this,e)||this;return t.number="",t.plusSign=!1,t.number=e.number,t.plusSign=e.plusSign,t}a(p,W=i),p.prototype.getType=function(){return"url"},p.prototype.getUrlMatchType=function(){return this.urlMatchType},p.prototype.getUrl=function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},p.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},p.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),e=this.decodePercentEncoding?this.removePercentEncoding(e):e},p.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},p.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},p.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},p.prototype.removeTrailingSlash=function(e){return e="/"===e.charAt(e.length-1)?e.slice(0,-1):e},p.prototype.removePercentEncoding=function(t){t=t.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(t)}catch(e){return t}};var W,G=p;function p(e){var t=W.call(this,e)||this;return t.url="",t.urlMatchType="scheme",t.protocolUrlMatch=!1,t.protocolRelativeMatch=!1,t.stripPrefix={scheme:!0,www:!0},t.stripTrailingSlash=!0,t.decodePercentEncoding=!0,t.schemePrefixRegex=/^(https?:\/\/)?/i,t.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,t.protocolRelativeRegex=/^\/\//,t.protocolPrepended=!1,t.urlMatchType=e.urlMatchType,t.url=e.url,t.protocolUrlMatch=e.protocolUrlMatch,t.protocolRelativeMatch=e.protocolRelativeMatch,t.stripPrefix=e.stripPrefix,t.stripTrailingSlash=e.stripTrailingSlash,t.decodePercentEncoding=e.decodePercentEncoding,t}function h(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder}function X(e){return"(?=("+te+"))\\"+e}function g(e){return"(?:"+X(e)+"(?:\\."+X(e+1)+"){0,126}|"+ee+")"}var m,E=/[A-Za-z]/,Z=/[\d]/,K=/[\D]/,S=/\s/,P=/['"]/,J=/[\x00-\x1F\x7F]/,Y=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,v=Y+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,y=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,Q=v+y,$=v+y,ee="(?:["+y+"]{1,3}\\.){3}["+y+"]{1,3}",te="["+$+"](?:["+$+"\\-]{0,61}["+$+"])?",b=new RegExp("["+$+"]"),v=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--3oq18vl8pn36a|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|afamilycompany|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|spreadbetting|travelchannel|wolterskluwer|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|rightathome|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pbt977c|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nationwide|newholland|nextdirect|onyourside|properties|protection|prudential|realestate|republican|restaurant|schaeffler|swiftcover|tatamotors|technology|telefonica|university|vistaprint|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|fujixerox|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|honeywell|institute|insurance|kuokgroup|ladbrokes|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|scjohnson|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--tckwe|xn--vhquv|yodobashi|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|budapest|builders|business|capetown|catering|catholic|chrysler|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|esurance|etisalat|everbank|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|movistar|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|symantec|training|uconnect|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|cartier|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|iselect|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lancome|lanxess|lasalle|latrobe|leclerc|liaison|limited|lincoln|markets|metlife|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|shriram|singles|staples|starhub|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|الجزائر|العليان|پاکستان|كاثوليك|موبايلي|இந்தியா|abarth|abbott|abbvie|active|africa|agency|airbus|airtel|alipay|alsace|alstom|anquan|aramco|author|bayern|beauty|berlin|bharti|blanco|bostik|boston|broker|camera|career|caseih|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|mobily|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|piaget|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|warman|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|dodge|drive|dubai|earth|edeka|email|epost|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glade|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|intel|irish|iveco|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|lixil|loans|locus|lotte|lotto|lupin|macys|mango|media|miami|money|mopar|movie|nadex|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|zippo|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|aigo|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|doha|duck|duns|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|raid|read|reit|rent|rest|rich|rmit|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scor|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|グーグル|クラウド|ポイント|大众汽车|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bnl|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceb|ceo|cfa|cfd|com|crs|csc|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jcp|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|off|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|qvc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|srl|srt|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ストア|セール|みんな|中文网|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|工行|广东|微博|慈善|手机|手表|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|珠宝|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,ne=new RegExp("["+$+"!#$%&'*+/=?^_`{|}~-]"),re=new RegExp("^"+v.source+"$"),ie=(a(w,m=h),w.prototype.parseMatches=function(n){for(var e,t,r,i,o=this.tagBuilder,a=this.localPartCharRegex,s=this.strictTldRegex,u=[],c=n.length,l=new k,d={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},f=0,p=0,h=l;f<c;){var g=n.charAt(f);switch(p){case 0:"m"===(i=g)?m(1):a.test(i)&&m();break;case 1:i=n.charAt(f-1),r=g,":"===i?a.test(r)?(p=2,h=new k(A(A({},h),{hasMailtoPrefix:!0}))):v():d[i]!==r&&(a.test(r)?p=2:"."===r?p=3:"@"===r?p=4:v());break;case 2:"."===(r=g)?p=3:"@"===r?p=4:a.test(r)||v();break;case 3:"."!==(t=g)&&"@"!==t&&a.test(t)?p=2:v();break;case 4:b.test(g)?p=5:v();break;case 5:"."===(t=g)?p=7:"-"===t?p=6:b.test(t)||y();break;case 6:"-"!==(e=g)&&"."!==e&&b.test(e)?p=5:y();break;case 7:"."!==(e=g)&&"-"!==e&&b.test(e)?(p=5,h=new k(A(A({},h),{hasDomainDot:!0}))):y();break;default:B(p)}f++}return y(),u;function m(e){p=e=void 0===e?2:e,h=new k({idx:f})}function v(){p=0,h=l}function y(){var e,t;h.hasDomainDot&&(e=n.slice(h.idx,f),/[-.]$/.test(e)&&(e=e.slice(0,-1)),function(e){e=(e.split(".").pop()||"").toLowerCase();return s.test(e)}(t=h.hasMailtoPrefix?e.slice("mailto:".length):e)&&u.push(new R({tagBuilder:o,matchedText:e,offset:h.idx,email:t}))),v()}},w);function w(){var e=null!==m&&m.apply(this,arguments)||this;return e.localPartCharRegex=ne,e.strictTldRegex=re,e}var k=function(e){this.idx=void 0!==(e=void 0===e?{}:e).idx?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},oe=(x.isValid=function(e,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},x.isValidIpAddress=function(e){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==e.match(t)},x.containsMultipleDots=function(e){var t=e;return-1<(t=this.hasFullProtocolRegex.test(e)?e.split("://")[1]:t).split("/")[0].indexOf("..")},x.isValidUriScheme=function(e){e=e.match(this.uriSchemeRegex),e=e&&e[0].toLowerCase();return"javascript:"!==e&&"vbscript:"!==e},x.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},x.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t)&&(!this.hasFullProtocolRegex.test(t)&&!this.hasWordCharAfterProtocolRegex.test(e))},x.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,x.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,x.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+Y+"]"),x.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,x);function x(){}y=new RegExp("[/?#](?:["+$+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+$+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?");var ae,se=new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,g(2),")","|","(","(//)?",/(?:www\.)/.source,g(6),")","|","(","(//)?",g(10)+"\\.",v.source,"(?![-"+Q+"])",")",")","(?::[0-9]+)?","(?:"+y.source+")?"].join(""),"gi"),ue=new RegExp("["+$+"]"),ce=(a(C,ae=h),C.prototype.parseMatches=function(a){for(var s,e=this.matcherRegex,u=this.stripPrefix,c=this.stripTrailingSlash,l=this.decodePercentEncoding,d=this.tagBuilder,f=[],p=this;null!==(s=e.exec(a));)!function(){var e=s[0],t=s[1],n=s[4],r=s[5],i=s[9],o=s.index,r=r||i,i=a.charAt(o-1);if(!oe.isValid(e,t))return;if(0<o&&"@"===i)return;if(0<o&&r&&p.wordCharRegExp.test(i))return;/\?$/.test(e)&&(e=e.substr(0,e.length-1)),p.matchHasUnbalancedClosingParen(e)?e=e.substr(0,e.length-1):-1<(i=p.matchHasInvalidCharAfterTld(e,t))&&(e=e.substr(0,i));i=["http://","https://"].find(function(e){return!!t&&-1!==t.indexOf(e)}),i&&(i=e.indexOf(i),e=e.substr(i),t=t.substr(i),o+=i),i=t?"scheme":n?"www":"tld",n=!!t;f.push(new G({tagBuilder:d,matchedText:e,offset:o,urlMatchType:i,url:e,protocolUrlMatch:n,protocolRelativeMatch:!!r,stripPrefix:u,stripTrailingSlash:c,decodePercentEncoding:l}))}();return f},C.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var r=0,i=0,o=e.length-1;i<o;i++){var a=e.charAt(i);a===t?r++:a===n&&(r=Math.max(r-1,0))}return 0===r},C.prototype.matchHasInvalidCharAfterTld=function(e,t){if(!e)return-1;var n=0;t&&(n=e.indexOf(":"),e=e.slice(n));t=new RegExp("^((.?//)?[-."+$+"]*[-"+$+"]\\.[-"+$+"]+)").exec(e);return null===t?-1:(n+=t[1].length,e=e.slice(t[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(e)?n:-1)},C);function C(e){var t=ae.call(this,e)||this;return t.stripPrefix={scheme:!0,www:!0},t.stripTrailingSlash=!0,t.decodePercentEncoding=!0,t.matcherRegex=se,t.wordCharRegExp=ue,t.stripPrefix=e.stripPrefix,t.stripTrailingSlash=e.stripTrailingSlash,t.decodePercentEncoding=e.decodePercentEncoding,t}var le,de=new RegExp("#[_"+$+"]{1,139}(?![_"+$+"])","g"),fe=new RegExp("[^"+$+"]"),pe=(a(T,le=h),T.prototype.parseMatches=function(e){for(var t=this.matcherRegex,n=this.nonWordCharRegex,r=this.serviceName,i=this.tagBuilder,o=[];null!==(a=t.exec(e));){var a,s=a.index,u=e.charAt(s-1);0!==s&&!n.test(u)||(u=a[0],a=a[0].slice(1),o.push(new U({tagBuilder:i,matchedText:u,offset:s,serviceName:r,hashtag:a})))}return o},T);function T(e){var t=le.call(this,e)||this;return t.serviceName="twitter",t.matcherRegex=de,t.nonWordCharRegex=fe,t.serviceName=e.serviceName,t}var _,he=new RegExp(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source+"|"+/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source,"g"),ge=(a(M,_=h),M.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,r=this.tagBuilder,i=[];null!==(t=n.exec(e));){var o=t[0],a=o.replace(/[^0-9,;#]/g,""),s=!(!t[1]&&!t[2]),u=0==t.index?"":e.substr(t.index-1,1),c=e.substr(t.index+o.length,1),u=!u.match(/\d/)&&!c.match(/\d/);this.testMatch(t[3])&&this.testMatch(o)&&u&&i.push(new z({tagBuilder:r,matchedText:o,offset:t.index,number:a,plusSign:s}))}return i},M.prototype.testMatch=function(e){return K.test(e)},M);function M(){var e=null!==_&&_.apply(this,arguments)||this;return e.matcherRegex=he,e}var me,ve=new RegExp("@[_"+$+"]{1,50}(?![_"+$+"])","g"),ye=new RegExp("@[_."+$+"]{1,30}(?![_"+$+"])","g"),$e=new RegExp("@[-_."+$+"]{1,50}(?![-_"+$+"])","g"),be=new RegExp("[^"+$+"]"),we=(a(D,me=h),D.prototype.parseMatches=function(e){var t=this.serviceName,n=this.matcherRegexes[this.serviceName],r=this.nonWordCharRegex,i=this.tagBuilder,o=[];if(!n)return o;for(;null!==(a=n.exec(e));){var a,s=a.index,u=e.charAt(s-1);0!==s&&!r.test(u)||(a=(u=a[0].replace(/\.+$/g,"")).slice(1),o.push(new H({tagBuilder:i,matchedText:u,offset:s,serviceName:t,mention:a})))}return o},D);function D(e){var t=me.call(this,e)||this;return t.serviceName="twitter",t.matcherRegexes={twitter:ve,instagram:ye,soundcloud:$e},t.nonWordCharRegex=be,t.serviceName=e.serviceName,t}function ke(t,e){for(var n,r,i,o,a,s,u,c=e.onOpenTag,l=e.onCloseTag,d=e.onText,f=e.onComment,p=e.onDoctype,h=new O,g=0,m=t.length,v=0,y=0,$=h;g<m;){var b=t.charAt(g);switch(v){case 0:"<"===b&&k();break;case 1:"!"===(u=b)?v=13:"/"===u?(v=2,$=new O(A(A({},$),{isClosing:!0}))):"<"===u?k():$=E.test(u)?(v=3,new O(A(A({},$),{isOpening:!0}))):(v=0,h);break;case 2:">"!==(u=b)&&E.test(u)?v=3:w();break;case 3:s=b,S.test(s)?($=new O(A(A({},$),{name:C()})),v=4):"<"===s?k():"/"===s?($=new O(A(A({},$),{name:C()})),v=12):">"===s?($=new O(A(A({},$),{name:C()})),x()):E.test(s)||Z.test(s)||":"===s||w();break;case 4:s=b,S.test(s)||("/"===s?v=12:">"===s?x():"<"===s?k():"="===s||P.test(s)||J.test(s)?w():v=5);break;case 5:a=b,S.test(a)?v=6:"/"===a?v=12:"="===a?v=7:">"===a?x():"<"===a?k():P.test(a)&&w();break;case 6:a=b,S.test(a)||("/"===a?v=12:"="===a?v=7:">"===a?x():"<"===a?k():P.test(a)?w():v=5);break;case 7:o=b,S.test(o)||('"'===o?v=8:"'"===o?v=9:/[>=`]/.test(o)?w():"<"===o?k():v=10);break;case 8:'"'===b&&(v=11);break;case 9:"'"===b&&(v=11);break;case 10:o=b,S.test(o)?v=4:">"===o?x():"<"===o&&k();break;case 11:i=b,S.test(i)?v=4:"/"===i?v=12:">"===i?x():"<"===i?k():(v=4,g--);break;case 12:">"===b?($=new O(A(A({},$),{isClosing:!0})),x()):v=4;break;case 13:"--"===t.substr(g,2)?(g+=2,$=new O(A(A({},$),{type:"comment"})),v=14):"DOCTYPE"===t.substr(g,7).toUpperCase()?(g+=7,$=new O(A(A({},$),{type:"doctype"})),v=20):w();break;case 14:"-"===(i=b)?v=15:">"===i?w():v=16;break;case 15:"-"===(r=b)?v=18:">"===r?w():v=16;break;case 16:"-"===b&&(v=17);break;case 17:v="-"===b?18:16;break;case 18:">"===(r=b)?x():"!"===r?v=19:"-"!==r&&(v=16);break;case 19:"-"===(n=b)?v=17:">"===n?x():v=16;break;case 20:">"===(n=b)?x():"<"===n&&k();break;default:B(v)}g++}function w(){v=0,$=h}function k(){v=1,$=new O({idx:g})}function x(){var e=t.slice(y,$.idx);e&&d(e,y),"comment"===$.type?f($.idx):"doctype"===$.type?p($.idx):($.isOpening&&c($.name,$.idx),$.isClosing&&l($.name,$.idx)),w(),y=g+1}function C(){var e=$.idx+($.isClosing?2:1);return t.slice(e,g).toLowerCase()}y<g&&(e=t.slice(y,g),d(e,y),y=g+1)}var O=function(e){this.idx=void 0!==(e=void 0===e?{}:e).idx?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing};function N(e){void 0===e&&(e={}),this.version=N.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(e.urls),this.email=("boolean"==typeof e.email?e:this).email,this.phone=("boolean"==typeof e.phone?e:this).phone,this.hashtag=e.hashtag||this.hashtag,this.mention=e.mention||this.mention,this.newWindow=("boolean"==typeof e.newWindow?e:this).newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(e.stripPrefix),this.stripTrailingSlash=("boolean"==typeof e.stripTrailingSlash?e:this).stripTrailingSlash,this.decodePercentEncoding=("boolean"==typeof e.decodePercentEncoding?e:this).decodePercentEncoding,this.sanitizeHtml=e.sanitizeHtml||!1;var t=this.mention;if(!1!==t&&"twitter"!==t&&"instagram"!==t&&"soundcloud"!==t)throw new Error("invalid `mention` cfg - see docs");t=this.hashtag;if(!1!==t&&"twitter"!==t&&"facebook"!==t&&"instagram"!==t)throw new Error("invalid `hashtag` cfg - see docs");this.truncate=this.normalizeTruncateCfg(e.truncate),this.className=e.className||this.className,this.replaceFn=e.replaceFn||this.replaceFn,this.context=e.context||this}return N.link=function(e,t){return new N(t).link(e)},N.parse=function(e,t){return new N(t).parse(e)},N.prototype.normalizeUrlsCfg=function(e){return"boolean"==typeof(e=null==e?!0:e)?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},N.prototype.normalizeStripPrefixCfg=function(e){return"boolean"==typeof(e=null==e?!0:e)?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},N.prototype.normalizeTruncateCfg=function(e){if("number"==typeof e)return{length:e,location:"end"};var t,n=e||{},r={length:Number.POSITIVE_INFINITY,location:"end"};for(t in r)r.hasOwnProperty(t)&&void 0===n[t]&&(n[t]=r[t]);return n},N.prototype.parse=function(e){var r=this,t=["a","style","script"],i=0,o=[];return ke(e,{onOpenTag:function(e){0<=t.indexOf(e)&&i++},onText:function(e,t){var n;0===i&&(e=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,r=[],i=0;n=t.exec(e);)r.push(e.substring(i,n.index)),r.push(n[0]),i=n.index+n[0].length;return r.push(e.substring(i)),r}(e,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),n=t,e.forEach(function(e,t){t%2==0&&(t=r.parseText(e,n),o.push.apply(o,t)),n+=e.length}))},onCloseTag:function(e){0<=t.indexOf(e)&&(i=Math.max(i-1,0))},onComment:function(e){},onDoctype:function(e){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},N.prototype.compactMatches=function(e){e.sort(function(e,t){return e.getOffset()-t.getOffset()});for(var t=0;t<e.length-1;t++){var n=e[t],r=n.getOffset(),n=n.getMatchedText().length,i=r+n;t+1<e.length&&(e[t+1].getOffset()===r?(r=e[t+1].getMatchedText().length>n?t:t+1,e.splice(r,1)):e[t+1].getOffset()<i&&e.splice(t+1,1))}return e},N.prototype.removeUnwantedMatches=function(e){return this.hashtag||t(e,function(e){return"hashtag"===e.getType()}),this.email||t(e,function(e){return"email"===e.getType()}),this.phone||t(e,function(e){return"phone"===e.getType()}),this.mention||t(e,function(e){return"mention"===e.getType()}),this.urls.schemeMatches||t(e,function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()}),this.urls.wwwMatches||t(e,function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()}),this.urls.tldMatches||t(e,function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()}),e},N.prototype.parseText=function(e,t){t=(t=void 0===t?0:t)||0;for(var n=this.getMatchers(),r=[],i=0,o=n.length;i<o;i++){for(var a=n[i].parseMatches(e),s=0,u=a.length;s<u;s++)a[s].setOffset(t+a[s].getOffset());r.push.apply(r,a)}return r},N.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var t=this.parse(e),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i];n.push(e.substring(r,a.getOffset())),n.push(this.createMatchReturnVal(a)),r=a.getOffset()+a.getMatchedText().length}return n.push(e.substring(r)),n.join("")},N.prototype.createMatchReturnVal=function(e){var t;return"string"==typeof(t=this.replaceFn?this.replaceFn.call(this.context,e):t)?t:!1===t?e.getMatchedText():(t instanceof n?t:e.buildTag()).toAnchorString()},N.prototype.getMatchers=function(){var e;return this.matchers||(e=this.getTagBuilder(),e=[new pe({tagBuilder:e,serviceName:this.hashtag}),new ie({tagBuilder:e}),new ge({tagBuilder:e}),new we({tagBuilder:e,serviceName:this.mention}),new ce({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})],this.matchers=e)},N.prototype.getTagBuilder=function(){return this.tagBuilder||(this.tagBuilder=new F({newWindow:this.newWindow,truncate:this.truncate,className:this.className}))},N.version="3.14.3",N.AnchorTagBuilder=F,N.HtmlTag=n,N.matcher={Email:ie,Hashtag:pe,Matcher:h,Mention:we,Phone:ge,Url:ce},N.match={Email:R,Hashtag:U,Match:i,Mention:H,Phone:z,Url:G},N}),function(e,t){"object"==typeof module&&module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.findAndReplaceDOMText=t()}(this,function(){var i="retain",v=document,o={}.hasOwnProperty;function s(){return function(e,t,n,r,i){if(t&&!t.nodeType&&arguments.length<=2)return!1;var o="function"==typeof n;o&&(n=function(n){return function(e,t){return n(e.text,t.startIndex)}}(n));var a=u(t,{find:e,wrap:o?null:n,replace:o?n:"$"+(r||"&"),prepMatch:function(e,t){if(e[0])return 0<r&&(n=e[r],e.index+=e[0].indexOf(n),e[0]=n),e.endIndex=e.index+e[0].length,e.startIndex=e.index,e.index=t,e;var n;throw"findAndReplaceDOMText cannot handle zero-length matches"},filterElements:i});return s.revert=function(){return a.revert()},!0}.apply(null,arguments)||u.apply(null,arguments)}function u(e,t){return new n(e,t)}function n(e,t){var n=t.preset&&s.PRESETS[t.preset];if(t.portionMode=t.portionMode||i,n)for(var r in n)o.call(n,r)&&!o.call(t,r)&&(t[r]=n[r]);this.node=e,this.options=t,this.prepMatch=t.prepMatch||this.prepMatch,this.reverts=[],this.matches=this.search(),this.matches.length&&this.processMatches()}return s.NON_PROSE_ELEMENTS={br:1,hr:1,script:1,style:1,img:1,video:1,audio:1,canvas:1,svg:1,map:1,object:1,input:1,textarea:1,select:1,option:1,optgroup:1,button:1},s.NON_CONTIGUOUS_PROSE_ELEMENTS={address:1,article:1,aside:1,blockquote:1,dd:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,header:1,hgroup:1,hr:1,main:1,nav:1,noscript:1,ol:1,output:1,p:1,pre:1,section:1,ul:1,br:1,li:1,summary:1,dt:1,details:1,rp:1,rt:1,rtc:1,script:1,style:1,img:1,video:1,audio:1,canvas:1,svg:1,map:1,object:1,input:1,textarea:1,select:1,option:1,optgroup:1,button:1,table:1,tbody:1,thead:1,th:1,tr:1,td:1,caption:1,col:1,tfoot:1,colgroup:1},s.PRESETS={prose:{forceContext:s.NON_INLINE_PROSE=function(e){return o.call(s.NON_CONTIGUOUS_PROSE_ELEMENTS,e.nodeName.toLowerCase())},filterElements:function(e){return!o.call(s.NON_PROSE_ELEMENTS,e.nodeName.toLowerCase())}}},(s.Finder=n).prototype={search:function(){var o,a=0,s=0,u=this.options.find,e=this.getAggregateText(),c=[],l=this;return u="string"==typeof u?RegExp(String(u).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"):u,function e(t){for(var n=0,r=t.length;n<r;++n){var i=t[n];if("string"!=typeof i)e(i);else{if(u.global)for(;o=u.exec(i);)c.push(l.prepMatch(o,a++,s));else(o=i.match(u))&&c.push(l.prepMatch(o,0,s));s+=i.length}}}(e),c},prepMatch:function(e,t,n){if(e[0])return e.endIndex=n+e.index+e[0].length,e.startIndex=n+e.index,e.index=t,e;throw new Error("findAndReplaceDOMText cannot handle zero-length matches")},getAggregateText:function(){var o=this.options.filterElements,a=this.options.forceContext;return function e(t){if(t.nodeType===Node.TEXT_NODE)return[t.data];if(o&&!o(t))return[];var n=[""];var r=0;if(t=t.firstChild)do{var i;t.nodeType===Node.TEXT_NODE?n[r]+=t.data:(i=e(t),a&&t.nodeType===Node.ELEMENT_NODE&&(!0===a||a(t))?(n[++r]=i,n[++r]=""):("string"==typeof i[0]&&(n[r]+=i.shift()),i.length&&(n[++r]=i,n[++r]="")))}while(t=t.nextSibling);return n}(this.node)},processMatches:function(){var e,t,n,r=this.matches,i=this.node,o=this.options.filterElements,a=[],s=i,u=r.shift(),c=0,l=0,d=[i];e:for(;;){if(s.nodeType===Node.TEXT_NODE&&(!t&&s.length+c>=u.endIndex?t={node:s,index:l++,text:s.data.substring(u.startIndex-c,u.endIndex-c),indexInMatch:0===c?0:c-u.startIndex,indexInNode:u.startIndex-c,endIndexInNode:u.endIndex-c,isEnd:!0}:e&&a.push({node:s,index:l++,text:s.data,indexInMatch:c-u.startIndex,indexInNode:0}),!e&&s.length+c>u.startIndex&&(e={node:s,index:l++,indexInMatch:0,indexInNode:u.startIndex-c,endIndexInNode:u.endIndex-c,text:s.data.substring(u.startIndex-c,u.endIndex-c)}),c+=s.data.length),n=s.nodeType===Node.ELEMENT_NODE&&o&&!o(s),e&&t){if(s=this.replaceMatch(u,e,a,t),c-=t.node.data.length-t.endIndexInNode,t=e=null,a=[],l=0,!(u=r.shift()))break}else if(!n&&(s.firstChild||s.nextSibling)){s=s.firstChild?(d.push(s),s.firstChild):s.nextSibling;continue}for(;;){if(s.nextSibling){s=s.nextSibling;break}if((s=d.pop())===i)break e}}},revert:function(){for(var e=this.reverts.length;e--;)this.reverts[e]();this.reverts=[]},prepareReplacementString:function(e,t,r){var n=this.options.portionMode;return"first"===n&&0<t.indexInMatch?"":(e=e.replace(/\$(\d+|&|`|')/g,function(e,t){var n;switch(t){case"&":n=r[0];break;case"`":n=r.input.substring(0,r.startIndex);break;case"'":n=r.input.substring(r.endIndex);break;default:n=r[+t]||""}return n}),"first"===n?e:t.isEnd?e.substring(t.indexInMatch):e.substring(t.indexInMatch,t.indexInMatch+t.text.length))},getPortionReplacementNode:function(e,t){var n=this.options.replace||"$&",r=this.options.wrap,i=this.options.wrapClass;if(r&&r.nodeType&&((o=v.createElement("div")).innerHTML=r.outerHTML||(new XMLSerializer).serializeToString(r),r=o.firstChild),"function"==typeof n)return(n=n(e,t))&&n.nodeType?n:v.createTextNode(String(n));var o="string"==typeof r?v.createElement(r):r;return o&&i&&(o.className=i),(n=v.createTextNode(this.prepareReplacementString(n,e,t))).data&&o?(o.appendChild(n),o):n},replaceMatch:function(e,t,n,r){var i,o,a=t.node,s=r.node;if(a===s)return i=a,0<t.indexInNode&&(u=v.createTextNode(i.data.substring(0,t.indexInNode)),i.parentNode.insertBefore(u,i)),o=this.getPortionReplacementNode(r,e),i.parentNode.insertBefore(o,i),r.endIndexInNode<i.length&&(c=v.createTextNode(i.data.substring(r.endIndexInNode)),i.parentNode.insertBefore(c,i)),i.parentNode.removeChild(i),this.reverts.push(function(){u===o.previousSibling&&u.parentNode.removeChild(u),c===o.nextSibling&&c.parentNode.removeChild(c),o.parentNode.replaceChild(i,o)}),o;for(var u=v.createTextNode(a.data.substring(0,t.indexInNode)),c=v.createTextNode(s.data.substring(r.endIndexInNode)),l=this.getPortionReplacementNode(t,e),d=[],f=0,p=n.length;f<p;++f){var h=n[f],g=this.getPortionReplacementNode(h,e);h.node.parentNode.replaceChild(g,h.node),this.reverts.push(function(e,t){return function(){t.parentNode.replaceChild(e.node,t)}}(h,g)),d.push(g)}var m=this.getPortionReplacementNode(r,e);return a.parentNode.insertBefore(u,a),a.parentNode.insertBefore(l,a),a.parentNode.removeChild(a),s.parentNode.insertBefore(m,s),s.parentNode.insertBefore(c,s),s.parentNode.removeChild(s),this.reverts.push(function(){u.parentNode.removeChild(u),l.parentNode.replaceChild(a,l),c.parentNode.removeChild(c),m.parentNode.replaceChild(s,m)}),m}},s}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jsQR=t():e.jsQR=t()}("undefined"!=typeof self?self:this,function(){return n=[function(e,t,n){"use strict";function r(e,t){this.width=t,this.height=e.length/t,this.data=e}Object.defineProperty(t,"__esModule",{value:!0}),r.createEmpty=function(e,t){return new r(new Uint8ClampedArray(e*t),e)},r.prototype.get=function(e,t){return!(e<0||e>=this.width||t<0||t>=this.height)&&!!this.data[t*this.width+e]},r.prototype.set=function(e,t,n){this.data[t*this.width+e]=n?1:0},r.prototype.setRegion=function(e,t,n,r,i){for(var o=t;o<t+r;o++)for(var a=e;a<e+n;a++)this.set(a,o,!!i)},t.BitMatrix=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);function r(e,t,n){this.primitive=e,this.size=t,this.generatorBase=n,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var r=1,i=0;i<this.size;i++)this.expTable[i]=r,(r*=2)>=this.size&&(r=(r^this.primitive)&this.size-1);for(i=0;i<this.size-1;i++)this.logTable[this.expTable[i]]=i;this.zero=new o.default(this,Uint8ClampedArray.from([0])),this.one=new o.default(this,Uint8ClampedArray.from([1]))}t.addOrSubtractGF=function(e,t){return e^t},r.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.size-1)]},r.prototype.inverse=function(e){if(0===e)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[e]-1]},r.prototype.buildMonomial=function(e,t){if(e<0)throw new Error("Invalid monomial degree less than 0");if(0===t)return this.zero;e=new Uint8ClampedArray(e+1);return e[0]=t,new o.default(this,e)},r.prototype.log=function(e){if(0===e)throw new Error("Can't take log(0)");return this.logTable[e]},r.prototype.exp=function(e){return this.expTable[e]},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n(1);function l(e,t){if(0===t.length)throw new Error("No coefficients.");this.field=e;var n=t.length;if(1<n&&0===t[0]){for(var r=1;r<n&&0===t[r];)r++;if(r===n)this.coefficients=e.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(n-r);for(var i=0;i<this.coefficients.length;i++)this.coefficients[i]=t[r+i]}}else this.coefficients=t}l.prototype.degree=function(){return this.coefficients.length-1},l.prototype.isZero=function(){return 0===this.coefficients[0]},l.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},l.prototype.addOrSubtract=function(e){if(this.isZero())return e;if(e.isZero())return this;for(var t=this.coefficients,n=e.coefficients,r=(t.length>n.length&&(t=(e=[n,t])[0],n=e[1]),new Uint8ClampedArray(n.length)),i=n.length-t.length,o=0;o<i;o++)r[o]=n[o];for(o=i;o<n.length;o++)r[o]=c.addOrSubtractGF(t[o-i],n[o]);return new l(this.field,r)},l.prototype.multiply=function(e){if(0===e)return this.field.zero;if(1===e)return this;for(var t=this.coefficients.length,n=new Uint8ClampedArray(t),r=0;r<t;r++)n[r]=this.field.multiply(this.coefficients[r],e);return new l(this.field,n)},l.prototype.multiplyPoly=function(e){if(this.isZero()||e.isZero())return this.field.zero;for(var t=this.coefficients,n=t.length,r=e.coefficients,i=r.length,o=new Uint8ClampedArray(n+i-1),a=0;a<n;a++)for(var s=t[a],u=0;u<i;u++)o[a+u]=c.addOrSubtractGF(o[a+u],this.field.multiply(s,r[u]));return new l(this.field,o)},l.prototype.multiplyByMonomial=function(e,t){if(e<0)throw new Error("Invalid degree less than 0");if(0===t)return this.field.zero;for(var n=this.coefficients.length,r=new Uint8ClampedArray(n+e),i=0;i<n;i++)r[i]=this.field.multiply(this.coefficients[i],t);return new l(this.field,r)},l.prototype.evaluateAt=function(e){var t=0;if(0===e)return this.getCoefficient(0);var n=this.coefficients.length;if(1===e)return this.coefficients.forEach(function(e){t=c.addOrSubtractGF(t,e)}),t;for(var t=this.coefficients[0],r=1;r<n;r++)t=c.addOrSubtractGF(this.field.multiply(e,t),this.coefficients[r]);return t},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(4),u=n(5),c=n(11),l=n(12);function d(e){var t=l.locate(e);if(!t)return null;for(var n=0,r=t;n<r.length;n++){var i=r[n],o=c.extract(e,i),a=u.decode(o.matrix);if(a)return{binaryData:a.bytes,data:a.text,chunks:a.chunks,version:a.version,location:{topRightCorner:o.mappingFunction(i.dimension,0),topLeftCorner:o.mappingFunction(0,0),bottomRightCorner:o.mappingFunction(i.dimension,i.dimension),bottomLeftCorner:o.mappingFunction(0,i.dimension),topRightFinderPattern:i.topRight,topLeftFinderPattern:i.topLeft,bottomLeftFinderPattern:i.bottomLeft,bottomRightAlignmentPattern:i.alignmentPattern}}}return null}var f={inversionAttempts:"attemptBoth"};function r(e,t,n,r){void 0===r&&(r={});var i=f,o=(Object.keys(i||{}).forEach(function(e){i[e]=r[e]||i[e]}),"attemptBoth"===i.inversionAttempts||"invertFirst"===i.inversionAttempts),a="onlyInvert"===i.inversionAttempts||"invertFirst"===i.inversionAttempts,e=s.binarize(e,t,n,o),t=e.binarized,n=e.inverted,o=d(a?n:t);return o=o||"attemptBoth"!==i.inversionAttempts&&"invertFirst"!==i.inversionAttempts?o:d(a?t:n)}t.default=r.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var P=n(0);function T(e,t,n){return e<t?t:n<e?n:e}r.prototype.get=function(e,t){return this.data[t*this.width+e]},r.prototype.set=function(e,t,n){this.data[t*this.width+e]=n};var _=r;function r(e,t){this.width=e,this.data=new Uint8ClampedArray(e*t)}t.binarize=function(e,t,n,r){if(e.length!==t*n*4)throw new Error("Malformed data passed to binarizer.");for(var i=new _(t,n),o=0;o<t;o++)for(var a=0;a<n;a++){var s=e[4*(a*t+o)+0],u=e[4*(a*t+o)+1],c=e[4*(a*t+o)+2];i.set(o,a,.2126*s+.7152*u+.0722*c)}for(var l=Math.ceil(t/8),d=Math.ceil(n/8),f=new _(l,d),p=0;p<d;p++)for(var h=0;h<l;h++){for(var g=0,m=1/0,v=0,a=0;a<8;a++)for(o=0;o<8;o++){var y=i.get(8*h+o,8*p+a);g+=y,m=Math.min(m,y),v=Math.max(v,y)}var $,b=g/Math.pow(8,2);v-m<=24&&(b=m/2,0<p&&0<h&&(m<($=(f.get(h,p-1)+2*f.get(h-1,p)+f.get(h-1,p-1))/4)&&(b=$))),f.set(h,p,b)}var w=P.BitMatrix.createEmpty(t,n),k=null;for(r&&(k=P.BitMatrix.createEmpty(t,n)),p=0;p<d;p++)for(h=0;h<l;h++){for(var x=T(h,2,l-3),C=T(p,2,d-3),g=0,B=-2;B<=2;B++)for(var A=-2;A<=2;A++)g+=f.get(x+B,C+A);for(var E=g/25,B=0;B<8;B++)for(A=0;A<8;A++){var o=8*h+B,a=8*p+A,S=i.get(o,a);w.set(o,a,S<=E),r&&k.set(o,a,!(S<=E))}}return r?{binarized:w,inverted:k}:{binarized:w}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var m=n(0),l=n(6),d=n(9),p=n(10);function h(e,t){for(var n=e^t,r=0;n;)r++,n&=n-1;return r}function g(e,t){return t<<1|e}var v=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(e){return(e.y+e.x)%2==0},function(e){return e.y%2==0},function(e){return e.x%3==0},function(e){return(e.y+e.x)%3==0},function(e){return(Math.floor(e.y/2)+Math.floor(e.x/3))%2==0},function(e){return e.x*e.y%2+e.x*e.y%3==0},function(e){return(e.y*e.x%2+e.y*e.x%3)%2==0},function(e){return((e.y+e.x)%2+e.y*e.x%3)%2==0}];function f(e,t,n){for(var r=y[n.dataMask],i=e.height,o=function(e){var t=17+4*e.versionNumber,n=m.BitMatrix.createEmpty(t,t);n.setRegion(0,0,9,9,!0),n.setRegion(t-8,0,8,9,!0),n.setRegion(0,t-8,9,8,!0);for(var r=0,i=e.alignmentPatternCenters;r<i.length;r++)for(var o=i[r],a=0,s=e.alignmentPatternCenters;a<s.length;a++){var u=s[a];6===o&&6===u||6===o&&u===t-7||o===t-7&&6===u||n.setRegion(o-2,u-2,5,5,!0)}return n.setRegion(6,9,1,t-17,!0),n.setRegion(9,6,t-17,1,!0),6<e.versionNumber&&(n.setRegion(t-11,0,3,6,!0),n.setRegion(0,t-11,6,3,!0)),n}(t),a=[],s=0,u=0,c=!0,l=i-1;0<l;l-=2){6===l&&l--;for(var d=0;d<i;d++)for(var f=c?i-1-d:d,p=0;p<2;p++){var h,g=l-p;o.get(g,f)||(u++,h=e.get(g,f),s=s<<1|(h=r({y:f,x:g})?!h:h),8===u&&(a.push(s),s=u=0))}c=!c}return a}function i(e){var t=function(e){var t=e.height,n=Math.floor((t-17)/4);if(n<=6)return p.VERSIONS[n-1];for(var r=0,i=5;0<=i;i--)for(var o=t-9;t-11<=o;o--)r=g(e.get(o,i),r);for(var a=0,o=5;0<=o;o--)for(i=t-9;t-11<=i;i--)a=g(e.get(o,i),a);for(var s,u=1/0,c=0,l=p.VERSIONS;c<l.length;c++){var d=l[c];if(d.infoBits===r||d.infoBits===a)return d;var f=h(r,d.infoBits);f<u&&(s=d,u=f),(f=h(a,d.infoBits))<u&&(s=d,u=f)}return u<=3?s:void 0}(e);if(!t)return null;var n=function(e){for(var t=0,n=0;n<=8;n++)6!==n&&(t=g(e.get(n,8),t));for(var r=7;0<=r;r--)6!==r&&(t=g(e.get(8,r),t));for(var i=e.height,o=0,r=i-1;i-7<=r;r--)o=g(e.get(8,r),o);for(n=i-8;n<i;n++)o=g(e.get(n,8),o);for(var a=1/0,s=null,u=0,c=v;u<c.length;u++){var l=c[u],d=l.bits,l=l.formatInfo;if(d===t||d===o)return l;var f=h(t,d);f<a&&(s=l,a=f),t!==o&&(f=h(o,d))<a&&(s=l,a=f)}return a<=3?s:null}(e);if(!n)return null;e=function(e,t,n){var r=t.errorCorrectionLevels[n],i=[],o=0;if(r.ecBlocks.forEach(function(e){for(var t=0;t<e.numBlocks;t++)i.push({numDataCodewords:e.dataCodewordsPerBlock,codewords:[]}),o+=e.dataCodewordsPerBlock+r.ecCodewordsPerBlock}),e.length<o)return null;e=e.slice(0,o);for(var a=r.ecBlocks[0].dataCodewordsPerBlock,s=0;s<a;s++)for(var u=0,c=i;u<c.length;u++)c[u].codewords.push(e.shift());if(1<r.ecBlocks.length)for(var l=r.ecBlocks[0].numBlocks,d=r.ecBlocks[1].numBlocks,s=0;s<d;s++)i[l+s].codewords.push(e.shift());for(;0<e.length;)for(var f=0,p=i;f<p.length;f++)p[f].codewords.push(e.shift());return i}(f(e,t,n),t,n.errorCorrectionLevel);if(!e)return null;for(var n=e.reduce(function(e,t){return e+t.numDataCodewords},0),r=new Uint8ClampedArray(n),i=0,o=0,a=e;o<a.length;o++){var s=a[o],u=d.decode(s.codewords,s.codewords.length-s.numDataCodewords);if(!u)return null;for(var c=0;c<s.numDataCodewords;c++)r[i++]=u[c]}try{return l.decode(r,t.versionNumber)}catch(e){return null}}t.decode=function(e){if(null==e)return null;var t=i(e);if(t)return t;for(var n=0;n<e.width;n++)for(var r=n+1;r<e.height;r++)e.get(n,r)!==e.get(r,n)&&(e.set(n,r,!e.get(n,r)),e.set(r,n,!e.get(r,n)));return i(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,d,f=n(7),p=n(8);(n=l=t.Mode||(t.Mode={})).Numeric="numeric",n.Alphanumeric="alphanumeric",n.Byte="byte",n.Kanji="kanji",n.ECI="eci",(n=d=d||{})[n.Terminator=0]="Terminator",n[n.Numeric=1]="Numeric",n[n.Alphanumeric=2]="Alphanumeric",n[n.Byte=4]="Byte",n[n.Kanji=8]="Kanji",n[n.ECI=7]="ECI";var h=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];t.decode=function(e,t){for(var n=new f.BitStream(e),r=t<=9?0:t<=26?1:2,i={text:"",bytes:[],chunks:[],version:t};4<=n.available();){var o,a,s,u,c=n.readBits(4);if(c===d.Terminator)return i;c===d.ECI?0===n.readBits(1)?i.chunks.push({type:l.ECI,assignmentNumber:n.readBits(7)}):0===n.readBits(1)?i.chunks.push({type:l.ECI,assignmentNumber:n.readBits(14)}):0===n.readBits(1)?i.chunks.push({type:l.ECI,assignmentNumber:n.readBits(21)}):i.chunks.push({type:l.ECI,assignmentNumber:-1}):c===d.Numeric?(o=function(e,t){for(var n,r=[],i="",o=e.readBits([10,12,14][t]);3<=o;){if(1e3<=(n=e.readBits(10)))throw new Error("Invalid numeric value above 999");var a=Math.floor(n/100),s=Math.floor(n/10)%10,u=n%10;r.push(48+a,48+s,48+u),i+=a.toString()+s.toString()+u.toString(),o-=3}if(2===o){if(100<=(n=e.readBits(7)))throw new Error("Invalid numeric value above 99");a=Math.floor(n/10),s=n%10;r.push(48+a,48+s),i+=a.toString()+s.toString()}else if(1===o){if(10<=(n=e.readBits(4)))throw new Error("Invalid numeric value above 9");r.push(48+n),i+=n.toString()}return{bytes:r,text:i}}(n,r),i.text+=o.text,(a=i.bytes).push.apply(a,o.bytes),i.chunks.push({type:l.Numeric,text:o.text})):c===d.Alphanumeric?(a=function(e,t){for(var n=[],r="",i=e.readBits([9,11,13][t]);2<=i;){var o=e.readBits(11),a=Math.floor(o/45),o=o%45;n.push(h[a].charCodeAt(0),h[o].charCodeAt(0)),r+=h[a]+h[o],i-=2}return 1===i&&(a=e.readBits(6),n.push(h[a].charCodeAt(0)),r+=h[a]),{bytes:n,text:r}}(n,r),i.text+=a.text,(o=i.bytes).push.apply(o,a.bytes),i.chunks.push({type:l.Alphanumeric,text:a.text})):c===d.Byte?(s=function(e,t){for(var n=[],r="",i=e.readBits([8,16,16][t]),o=0;o<i;o++){var a=e.readBits(8);n.push(a)}try{r+=decodeURIComponent(n.map(function(e){return"%"+("0"+e.toString(16)).substr(-2)}).join(""))}catch(e){}return{bytes:n,text:r}}(n,r),i.text+=s.text,(u=i.bytes).push.apply(u,s.bytes),i.chunks.push({type:l.Byte,bytes:s.bytes,text:s.text})):c===d.Kanji&&(u=function(e,t){for(var n=[],r="",i=e.readBits([8,10,12][t]),o=0;o<i;o++){var a=e.readBits(13),a=Math.floor(a/192)<<8|a%192;a+=a<7936?33088:49472,n.push(a>>8,255&a),r+=String.fromCharCode(p.shiftJISTable[a])}return{bytes:n,text:r}}(n,r),i.text+=u.text,(s=i.bytes).push.apply(s,u.bytes),i.chunks.push({type:l.Kanji,bytes:u.bytes,text:u.text}))}if(0===n.available()||0===n.readBits(n.available()))return i}},function(e,t,n){"use strict";function r(e){this.byteOffset=0,this.bitOffset=0,this.bytes=e}Object.defineProperty(t,"__esModule",{value:!0}),r.prototype.readBits=function(e){if(e<1||32<e||e>this.available())throw new Error("Cannot read "+e.toString()+" bits");var t,n,r,i=0;if(0<this.bitOffset&&(r=255>>8-(t=e<(n=8-this.bitOffset)?e:n)<<(n=n-t),i=(this.bytes[this.byteOffset]&r)>>n,e-=t,this.bitOffset+=t,8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)),0<e){for(;8<=e;)i=i<<8|255&this.bytes[this.byteOffset],this.byteOffset++,e-=8;0<e&&(r=255>>(n=8-e)<<n,i=i<<e|(this.bytes[this.byteOffset]&r)>>n,this.bitOffset+=e)}return i},r.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t.BitStream=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var p=n(1),h=n(2);t.decode=function(e,t){for(var n=new Uint8ClampedArray(e.length),r=(n.set(e),new p.default(285,256,0)),i=new h.default(r,n),o=new Uint8ClampedArray(t),a=!1,s=0;s<t;s++){var u=i.evaluateAt(r.exp(s+r.generatorBase));0!==(o[o.length-1-s]=u)&&(a=!0)}if(!a)return n;if(e=new h.default(r,o),null===(e=function(e,t,n,r){t.degree()<n.degree()&&(t=(h=[n,t])[0],n=h[1]);for(var i=t,o=n,a=e.zero,s=e.one;o.degree()>=r/2;){var u=i,c=a,a=s;if((i=o).isZero())return null;o=u;for(var l=e.zero,u=i.getCoefficient(i.degree()),d=e.inverse(u);o.degree()>=i.degree()&&!o.isZero();)var f=o.degree()-i.degree(),p=e.multiply(o.getCoefficient(o.degree()),d),l=l.addOrSubtract(e.buildMonomial(f,p)),o=o.addOrSubtract(i.multiplyByMonomial(f,p));if(s=l.multiplyPoly(a).addOrSubtract(c),o.degree()>=i.degree())return null}var h=s.getCoefficient(0);return 0===h?null:(t=e.inverse(h),[s.multiply(t),o.multiply(t)])}(r,r.buildMonomial(t,1),e,t)))return null;var c=function(e,t){var n=t.degree();if(1===n)return[t.getCoefficient(1)];for(var r=new Array(n),i=0,o=1;o<e.size&&i<n;o++)0===t.evaluateAt(o)&&(r[i]=e.inverse(o),i++);return i!==n?null:r}(r,e[0]);if(null==c)return null;for(var l=function(e,t,n){for(var r=n.length,i=new Array(r),o=0;o<r;o++){for(var a=e.inverse(n[o]),s=1,u=0;u<r;u++)o!==u&&(s=e.multiply(s,p.addOrSubtractGF(1,e.multiply(n[u],a))));i[o]=e.multiply(t.evaluateAt(a),e.inverse(s)),0!==e.generatorBase&&(i[o]=e.multiply(i[o],a))}return i}(r,e[1],c),d=0;d<c.length;d++){var f=n.length-1-r.log(c[d]);if(f<0)return null;n[f]=p.addOrSubtractGF(n[f],l[d])}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var f=n(0);function p(e,t,n,r){var i,o,a,s=e.x-t.x+n.x-r.x,u=e.y-t.y+n.y-r.y;return 0==s&&0==u?{a11:t.x-e.x,a12:t.y-e.y,a13:0,a21:n.x-t.x,a22:n.y-t.y,a23:0,a31:e.x,a32:e.y,a33:1}:(i=t.x-n.x,a=r.x-n.x,o=t.y-n.y,n=r.y-n.y,{a11:t.x-e.x+(a=(s*n-a*u)/(n=i*n-a*o))*t.x,a12:t.y-e.y+a*t.y,a13:a,a21:r.x-e.x+(t=(i*u-s*o)/n)*r.x,a22:r.y-e.y+t*r.y,a23:t,a31:e.x,a32:e.y,a33:1})}t.extract=function(e,t){n={x:3.5,y:3.5},i={x:t.dimension-3.5,y:3.5},o={x:t.dimension-6.5,y:t.dimension-6.5},r={x:3.5,y:t.dimension-3.5};for(var n,r,i={a11:(n=p(n,i,o,r)).a22*n.a33-n.a23*n.a32,a12:n.a13*n.a32-n.a12*n.a33,a13:n.a12*n.a23-n.a13*n.a22,a21:n.a23*n.a31-n.a21*n.a33,a22:n.a11*n.a33-n.a13*n.a31,a23:n.a13*n.a21-n.a11*n.a23,a31:n.a21*n.a32-n.a22*n.a31,a32:n.a12*n.a31-n.a11*n.a32,a33:n.a11*n.a22-n.a12*n.a21},o=p(t.topLeft,t.topRight,t.alignmentPattern,t.bottomLeft),a={a11:o.a11*i.a11+o.a21*i.a12+o.a31*i.a13,a12:o.a12*i.a11+o.a22*i.a12+o.a32*i.a13,a13:o.a13*i.a11+o.a23*i.a12+o.a33*i.a13,a21:o.a11*i.a21+o.a21*i.a22+o.a31*i.a23,a22:o.a12*i.a21+o.a22*i.a22+o.a32*i.a23,a23:o.a13*i.a21+o.a23*i.a22+o.a33*i.a23,a31:o.a11*i.a31+o.a21*i.a32+o.a31*i.a33,a32:o.a12*i.a31+o.a22*i.a32+o.a32*i.a33,a33:o.a13*i.a31+o.a23*i.a32+o.a33*i.a33},s=f.BitMatrix.createEmpty(t.dimension,t.dimension),u=function(e,t){var n=a.a13*e+a.a23*t+a.a33;return{x:(a.a11*e+a.a21*t+a.a31)/n,y:(a.a12*e+a.a22*t+a.a32)/n}},c=0;c<t.dimension;c++)for(var l=0;l<t.dimension;l++){var d=u(l+.5,c+.5);s.set(l,c,e.get(Math.floor(d.x),Math.floor(d.y)))}return{matrix:s,mappingFunction:u}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var k=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))};function v(e){return e.reduce(function(e,t){return e+t})}function a(e,t,n,r){for(var i,o,a,s=[{x:Math.floor(e.x),y:Math.floor(e.y)}],u=Math.abs(t.y-e.y)>Math.abs(t.x-e.x),c=u?(i=Math.floor(e.y),o=Math.floor(e.x),a=Math.floor(t.y),Math.floor(t.x)):(i=Math.floor(e.x),o=Math.floor(e.y),a=Math.floor(t.x),Math.floor(t.y)),l=Math.abs(a-i),d=Math.abs(c-o),f=Math.floor(-l/2),p=i<a?1:-1,h=o<c?1:-1,g=!0,m=i,v=o;m!==a+p;m+=p){var y=u?v:m,$=u?m:v;if(n.get(y,$)!==g&&(g=!g,s.push({x:y,y:$}),s.length===r+1))break;if(0<(f+=d)){if(v===c)break;v+=h,f-=l}}for(var b=[],w=0;w<r;w++)s[w]&&s[w+1]?b.push(k(s[w],s[w+1])):b.push(0);return b}function p(e,t,n,r){var i=t.y-e.y,o=t.x-e.x,t=a(e,t,n,Math.ceil(r/2)),o=a(e,{x:e.x-o,y:e.y-i},n,Math.ceil(r/2)),e=t.shift()+o.shift()-1;return(i=o.concat(e)).concat.apply(i,t)}function h(n,e){var r=v(n)/v(e),i=0;return e.forEach(function(e,t){i+=Math.pow(n[t]-e*r,2)}),{averageSize:r,error:i}}function y(e,t,n){try{var r=p(e,{x:-1,y:e.y},n,t.length),i=p(e,{x:e.x,y:-1},n,t.length),o=p(e,{x:Math.max(0,e.x-e.y)-1,y:Math.max(0,e.y-e.x)-1},n,t.length),a=p(e,{x:Math.min(n.width,e.x+e.y)+1,y:Math.min(n.height,e.y+e.x)+1},n,t.length),s=h(r,t),u=h(i,t),c=h(o,t),l=h(a,t),d=Math.sqrt(s.error*s.error+u.error*u.error+c.error*c.error+l.error*l.error),f=(s.averageSize+u.averageSize+c.averageSize+l.averageSize)/4;return d+(Math.pow(s.averageSize-f,2)+Math.pow(u.averageSize-f,2)+Math.pow(c.averageSize-f,2)+Math.pow(l.averageSize-f,2))/f}catch(e){return 1/0}}function $(e,t){for(var n=Math.round(t.x);e.get(n,Math.round(t.y));)n--;for(var r=Math.round(t.x);e.get(r,Math.round(t.y));)r++;for(var i=(n+r)/2,o=Math.round(t.y);e.get(Math.round(i),o);)o--;for(var a=Math.round(t.y);e.get(Math.round(i),a);)a++;return{x:i,y:(o+a)/2}}function b(n,e,t,r,i){var o;try{o=(a=function(e,t,n,r){if((r=(v(p(e,n,r,5))/7+v(p(e,t,r,5))/7+v(p(n,e,r,5))/7+v(p(t,e,r,5))/7)/4)<1)throw new Error("Invalid module size");var t=Math.round(k(e,t)/r),e=Math.round(k(e,n)/r),i=Math.floor((t+e)/2)+7;switch(i%4){case 0:i++;break;case 2:i--}return{dimension:i,moduleSize:r}}(r,t,i,n)).dimension,c=a.moduleSize}catch(e){return null}var a=t.x-r.x+i.x,s=t.y-r.y+i.y,i=(k(r,i)+k(r,t))/2/c,t=1-3/i,u={x:r.x+t*(a-r.x),y:r.y+t*(s-r.y)},c=e.map(function(e){var t=(e.top.startX+e.top.endX+e.bottom.startX+e.bottom.endX)/4,e=(e.top.y+e.bottom.y+1)/2;if(n.get(Math.floor(t),Math.floor(e)))return{x:t,y:e,score:y({x:Math.floor(t),y:Math.floor(e)},[1,1,1],n)+k({x:t,y:e},u)}}).filter(function(e){return!!e}).sort(function(e,t){return e.score-t.score});return{alignmentPattern:15<=i&&c.length?c[0]:u,dimension:o}}t.locate=function(h){for(var t=[],g=[],n=[],m=[],e=function(l){for(var d=0,f=!1,p=[0,0,0,0,0],e=-1;e<=h.width;e++)!function(e){var t,n,r,i,o,a,s,u,c=h.get(e,l);c===f?d++:(p=[p[1],p[2],p[3],p[4],d],d=1,f=c,t=v(p)/7,t=Math.abs(p[0]-t)<t&&Math.abs(p[1]-t)<t&&Math.abs(p[2]-3*t)<3*t&&Math.abs(p[3]-t)<t&&Math.abs(p[4]-t)<t&&!c,n=v(p.slice(-3))/3,n=Math.abs(p[2]-n)<n&&Math.abs(p[3]-n)<n&&Math.abs(p[4]-n)<n&&c,t&&(r=e-p[3]-p[4],s={startX:i=r-p[2],endX:r,y:l},0<(u=g.filter(function(e){return i>=e.bottom.startX&&i<=e.bottom.endX||r>=e.bottom.startX&&i<=e.bottom.endX||i<=e.bottom.startX&&r>=e.bottom.endX&&p[2]/(e.bottom.endX-e.bottom.startX)<1.5&&.5<p[2]/(e.bottom.endX-e.bottom.startX)})).length?u[0].bottom=s:g.push({top:s,bottom:s})),n&&(o=e-p[4],s={startX:a=o-p[3],y:l,endX:o},0<(u=m.filter(function(e){return a>=e.bottom.startX&&a<=e.bottom.endX||o>=e.bottom.startX&&a<=e.bottom.endX||a<=e.bottom.startX&&o>=e.bottom.endX&&p[2]/(e.bottom.endX-e.bottom.startX)<1.5&&.5<p[2]/(e.bottom.endX-e.bottom.startX)})).length?u[0].bottom=s:m.push({top:s,bottom:s})))}(e);t.push.apply(t,g.filter(function(e){return e.bottom.y!==l&&2<=e.bottom.y-e.top.y})),g=g.filter(function(e){return e.bottom.y===l}),n.push.apply(n,m.filter(function(e){return e.bottom.y!==l})),m=m.filter(function(e){return e.bottom.y===l})},r=0;r<=h.height;r++)e(r);if(t.push.apply(t,g.filter(function(e){return 2<=e.bottom.y-e.top.y})),n.push.apply(n,m),0===(a=t.filter(function(e){return 2<=e.bottom.y-e.top.y}).map(function(e){var t=(e.top.startX+e.top.endX+e.bottom.startX+e.bottom.endX)/4,n=(e.top.y+e.bottom.y+1)/2;if(h.get(Math.round(t),Math.round(n)))return e=[e.top.endX-e.top.startX,e.bottom.endX-e.bottom.startX,e.bottom.y-e.top.y+1],e=v(e)/e.length,{score:y({x:Math.round(t),y:Math.round(n)},[1,1,3,1,1],h),x:t,y:n,size:e}}).filter(function(e){return!!e}).sort(function(e,t){return e.score-t.score}).map(function(t,n,e){if(4<n)return null;e=e.filter(function(e,t){return n!==t}).map(function(e){return{x:e.x,y:e.y,score:e.score+Math.pow(e.size-t.size,2)/t.size,size:e.size}}).sort(function(e,t){return e.score-t.score});if(e.length<2)return null;var r=t.score+e[0].score+e[1].score;return{points:[t].concat(e.slice(0,2)),score:r}}).filter(function(e){return!!e}).sort(function(e,t){return e.score-t.score})).length)return null;o=a[0].points[0],s=a[0].points[1],a=a[0].points[2],f=k(o,s),u=k(s,a),c=k(o,a),((f=f<=u&&c<=u?(l=(i=[s,o,a])[0],d=i[1],i[2]):u<=c&&f<=c?(l=(i=[o,s,a])[0],d=i[1],i[2]):(l=(u=[o,a,s])[0],d=u[1],u[2])).x-d.x)*(l.y-d.y)-(f.y-d.y)*(l.x-d.x)<0&&(l=(c=[f,l])[0],f=c[1]);var i={bottomLeft:l,topLeft:d,topRight:f},o=i.topRight,a=i.topLeft,s=i.bottomLeft,u=b(h,n,o,a,s),c=[],l=(u&&c.push({alignmentPattern:{x:u.alignmentPattern.x,y:u.alignmentPattern.y},bottomLeft:{x:s.x,y:s.y},dimension:u.dimension,topLeft:{x:a.x,y:a.y},topRight:{x:o.x,y:o.y}}),$(h,o)),d=$(h,a),f=$(h,s);return(u=b(h,n,l,d,f))&&c.push({alignmentPattern:{x:u.alignmentPattern.x,y:u.alignmentPattern.y},bottomLeft:{x:f.x,y:f.y},topLeft:{x:d.x,y:d.y},topRight:{x:l.x,y:l.y},dimension:u.dimension}),0===c.length?null:c}}],i={},r.m=n,r.c=i,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3).default;function r(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var n,i}),angular.module("activetag",["activetag.config","utils"]).constant("CONST",{}).config(["$sceProvider",function(e){e.enabled(!1)}]),angular.module("activetag.config",[]).config(["$provide",function(e){e.decorator("$log",["$delegate","logService",function(t,n){return angular.forEach(n.getAllLevels(),function(e){t[e]=n.getDecorator(e,t[e])}),t}])}]),angular.module("activetag.panel",["activetag","utils"]),angular.module("utils",[]).constant("keyCodes",{escape:27,esc:27,enter:13,space:32,arrowLeft:37,arrowUp:38,arrowRight:39,arrowDown:40}),angular.module("activetag").directive("hardBind",[function(){return function(t,n,e){var r,i=t.$watch(e.hardBind,function(e){n.text(void 0===e?"":e),r||(r=!0,t.$$postDigest(i))})}}]),angular.module("activetag").directive("hardL10n",["utilsService",function(r){return function(e,t,n){t.text(r.l10n(n.hardL10n))}}]),angular.module("activetag").directive("stopEvent",[function(){return{restrict:"A",link:function(e,t,n){n&&n.stopEvent&&t.on(n.stopEvent,function(e){e.preventDefault(),e.stopPropagation()})}}}]),angular.module("activetag").filter("autolinker",["$sce","configService","utilsService",function(r,i,o){return function(e,t){var n;return t=t||{},i.extUrl&&(t.replaceFn=function(e,t){return"url"!==t.getType()||'<a href="'+o.urlTemplate(i.extUrl,{url:encodeURIComponent(t.getAnchorHref())})+'" target="_blank">'+t.getAnchorText()+"</a>"}),t.className="at-dialog-link",n=Autolinker.link(e,t),!1!==t.stripTags&&(n=o.stripTags(n,["a","br"])),e?r.trustAsHtml(n):""}}]),angular.module("activetag").filter("clearHtml",[function(){var t=angular.element("<div></div>");return function(e){return e&&t.text(e).html()}}]),angular.module("activetag").filter("clearUrl",["utilsService",function(e){return e.normalizeUrl}]),angular.module("activetag").filter("l10n",["utilsService",function(e){return e.l10n}]),angular.module("activetag").filter("l10nHtml",["$sce","utilsService",function(e,t){return function(){return e.trustAsHtml(t.l10n.apply(t,arguments))}}]),angular.module("activetag").filter("l10nPlural",["utilsService",function(e){return e.l10nPlural}]),angular.module("activetag").filter("nl2br",["$sce",function(t){return function(e){return e?t.trustAsHtml(e.replace(/\n/g,"<br/>")):""}}]),angular.module("activetag").filter("numberFormat",["utilsService",function(e){return e.numberFormat}]),angular.module("activetag").filter("t",["translateService",function(e){return e.translate}]),angular.module("activetag").service("apiService",["$q","$log","$rootScope","configService","dispatchService","eventsFabricService","sitePluginBgService",function(r,i,o,a,e,t,s){var n=!1,t=t.getInstance(),u=t.trigger("connected"),c=t.trigger("disconnected"),l={};function d(e){!!e!==n&&((n=!!e)?u:c)()}return l.request=function(t,e){var n=r.defer();return i.log("apiService: ",t," request sending with",e),a.isSitePlugin?s.message(_.extend(e||{},{action:t})).then(function(e){e.success?(i.log("apiService: ",t," request succeed:",e),n.resolve(e.data)):(i.warn("apiService: ",t," request failed:",e),n.reject(e.data))},n.reject):chrome.runtime.sendMessage(_.extend(e||{},{action:t,referer:window.location&&window.location.href}),function(e){e.success?(i.log("apiService: ",t," request succeed:",e),n.resolve(e.data)):(i.warn("apiService: ",t," request failed:",e),n.reject(e.data)),o.$evalAsync()}),n.promise},l.isOnline=function(){return n},l.checkOnline=function(){return l.request("status::online").then(function(e){d(e.online)})},l.onConnected=t.on("connected"),l.offConnected=t.off("connected"),l.onDisconnected=t.on("disconnected"),l.offDisconnected=t.off("disconnected"),e.listen("api::connected",_.partial(d,!0)).listen("api::disconnected",_.partial(d,!1)),l}]),angular.module("activetag").service("atService",["$log","$templateCache","configService","utilsService",function(e,r,t,i){var n={};t.platform||i.getPlatformSignature();return n.getTemplateUrl=function(e){var t=[],n=(n=e.match(/^\/\/([^\/]+)((?:\/.+)+)?\/([^\/\:]+?)(?:\:([^\/\.]+))?(?:\.([^\/]+))?$/))?(t.push("js/app"),t.push(n[1]),n[2]&&t.push(i.trim(n[2],"/")),t.push("directives",n[3]),t.push((n[4]||n[3])+"."+(n[5]||"html")),t.join("/")):e;return n=r.get("/"+n)?"/"+n:chrome.extension.getURL(n)},n.getUrl=function(e){var t=[],n=(n=e.match(/^\/\/([^\/]+)\/(.+)$/))?(t.push("js/app"),t.push(n[1]),n[2]&&t.push(i.trim(n[2],"/")),t.join("/")):e;return r.get("/"+n)?n="/"+n:"object"==typeof chrome&&"object"==typeof chrome.extension&&(n=chrome.extension.getURL(n)),n},t.isSitePlugin||("function"==typeof chrome.i18n.getUILanguage?n.lang=(chrome.i18n.getUILanguage()||"en").substr(0,2):n.lang=(chrome.i18n.getMessage("@@ui_locale")||"en").substr(0,2)),n}]),angular.module("activetag").service("dispatchService",["$rootScope","$log","configService",function(a,s,e){var n={},u={},c={},r=_.once(function(){e.isSitePlugin||chrome.runtime.onMessage.addListener(function(e,t,n){var r=e.action,e=_.omit(e,"action"),i=(s.log("dispatchService: bg message received:",r,e),e);function o(e){u[e]&&u[e].length?(l(e),angular.forEach(u[e],function(e){e(i)})):"all"!==e&&(c[e]=c[e]||[]).push(i)}"all"!=r&&o(r),o("all"),a.$apply()})});function l(e){var t;if(u[e]&&(t=u[e][0])&&c[e]&&c[e].length)for(;c[e].length;)t(c[e].shift())}return n.listen=function(){var e=_.toArray(arguments),t=e.pop(),e=e.pop()||"all";return u[e]||(u[e]=[]),u[e].push(t),l(e),r(),n},n.unListen=function(){var e=_.toArray(arguments),t=e.pop(),e=e.pop()||"all";return t&&_.isString(t)&&(e=t,t=null),u[e]&&(u[e]=t?_.filter(u[e],function(e){return e!==t}):[]),n},n.listen("sys::ping",function(){e.isSitePlugin||chrome.runtime.sendMessage({action:"sys::pong"})}),r(),n}]),angular.module("activetag").service("sysService",["$log","configService","utilsService","apiService","dispatchService",function(e,t,n,r,i){var o={},a={extensions:o,updateExtensionsList:function(){return e.log("sysService: start updating extensions list"),r.request("sys::extensions").then(function(e){n.updateObject(o,e||{})})}};return i.listen("sys::extensions",function(e){n.updateObject(o,e||{})}),a}]),angular.module("activetag").service("tagService",[function(){return tagService={parseTagStr:function(e){var t={},n=String(e||"").split("-");return t.partner=n[0]||"",t.article=n.slice(1).join("-")||"",t.str=String(e),t},completeTag:function(e){return e&&e.partner&&(e.str=tagService.getTagStr(e)),e},getTagStr:function(e){var t,n="";return e&&e.partner&&(t=[e.partner],e.article&&t.push(e.article),n=t.join("-")),n}}}]),angular.module("activetag").service("translateService",[function(){var e={},n={en:{"Поиск тегов":"Search for tags","Изображение":"Image","Анализ...":"Parsing...","Теги не обнаружены":"No tags found","Содержимое QR-кода":"QR-code contents","Результат распознавания":"Parsing results","Завершение оплаты":"Finishing payment","Активный тег":"Active Tag","Загружаем...":"Loading...","Распознанный на изображении текст":"Text recognized in the image","Отправить":"Send","Отмена":"Cancel","Изображение не содержит тегов":"Image contains no tags","Сохранённые значения":"Saved values","Удалить из истории":"Remove from saved"}};return e.translate=function(e,t){t=t&&t.lang||t;return t&&n[t]&&void 0!==n[t][e]?n[t][e]:e},e}]),angular.module("activetag").service("sitePluginApiService",["$http","$q","$log","configService",function(e,r,i,t){var o={};function a(e){return e.toString().replace(/^\/\/api\//i,(t.apiUrl||"")+"/")}return o.decodeUrl=a,o.request=function(t){var n=r.defer();return(t=_.defaults(t,{method:"GET",url:"/",withCredentials:!0})).url=a(t.url),e(t).then(function(e){e&&e.data&&null!==e.data&&"null"!==e.data?(i.debug("sitePluginApiService: loaded data for",t.url,e.data),n.resolve(e.data)):(i.warn("sitePluginApiService: bad response for",t.url,n.reject(e)),n.reject(e))},function(e){i.warn("sitePluginApiService: error occurred while requested",t.url,n.reject(e)),n.reject(e)}),n.promise},o.requestGet=function(e,t,n){return o.request(angular.extend({method:"GET",url:e,params:angular.extend({},t||{})},n||{}))},o.requestPost=function(e,t,n){return o.request(angular.extend({method:"POST",url:e,data:t||{}},n||{}))},o.requestPatch=function(e,t,n){return o.request(angular.extend({method:"PATCH",url:e,data:t||{}},n||{}))},o.requestHead=function(e,t,n){return o.request(angular.extend({method:"HEAD",url:e,data:t||{}},n||{}))},o.requestPut=function(e,t,n){return o.request(angular.extend({method:"PUT",url:e,data:t||{}},n||{}))},o.requestDelete=function(e,t,n){return o.request(angular.extend({method:"DELETE",url:e,data:t||{}},n||{}))},o}]),angular.module("activetag").service("sitePluginBgCommonService",["$log","sitePluginApiService",function(e,t){var n={organizations:function(){return e.log("sitePluginBgCommonService: load organizations"),t.requestGet("//API/organizations")}};return n}]),angular.module("activetag").service("sitePluginBgDialogService",["$log","$http","$q","sitePluginApiService","configService","utilsService",function(r,i,o,n,a,s){var e={messages:function(e){r.log("sitePluginBgDialogService: run messages with",e);var t={};return(e=e||{}).sessionId||e.tag&&e.tag.partner||r.warn("sitePluginBgDialogService: cannot load messages due to bad data - no sessionId or partner",e),e.sessionId||(t.active_tag=e.tag),e.menu_item_id&&(t.menu_item_id=e.menu_item_id),e.fields&&(t.fields=e.fields),e.markdown_filters?t.markdown_filters=e.markdown_filters:a.markdownFilters&&(t.markdown_filters=a.markdownFilters),n.requestPost("//API/messages"+(e.sessionId?"/"+e.sessionId:""),t)},payments:function(e){r.log("sitePluginBgDialogService: run payments with",e);var t={};return(e=e||{}).sessionId&&e.amount||r.warn("sitePluginBgDialogService: cannot get payments due to bad data - no sessionId or amount",e),t.amount=e.amount,e.menu_item_id&&(t.menu_item_id=e.menu_item_id),e.fields&&(t.fields=e.fields),e.markdown_filters?t.markdown_filters=e.markdown_filters:a.markdownFilters&&(t.markdown_filters=a.markdownFilters),n.requestPost("//API/messages/"+e.sessionId+"/payments",t)},deleteFieldValue:function(e){return r.log("sitePluginBgDialogService: delete field value with",e),(e=e||{}).type&&e.value||r.warn("sitePluginBgDialogService: cannot delete field value due to bad data - no type or value",e),n.requestDelete("//API/req_values/"+e.type+"/"+e.value)},uploadFile:function(e){var n=o.defer();return(e=e||{}).fileUrl?(r.log("sitePluginBgDialogService: uploading file with",e),s.imgUrlToBlob(e.fileUrl).then(function(e){r.log("sitePluginBgDialogService: got blob",e,"size:",e.size,"type:",e.type);var t=new FormData;t.append("file",e),i({url:a.apiUrl+"/files",method:"POST",withCredentials:!0,data:t,headers:{"Content-Type":void 0},transformRequest:angular.identity}).then(function(e){e&&e.data&&null!==e.data&&"null"!==e.data&&e.data.file_url?(r.log("sitePluginBgDialogService: success uploading file",e.data),n.resolve(e.data)):(r.warn("sitePluginBgDialogService: fail uploading file",e),n.reject(e))},function(e){r.warn("sitePluginBgDialogService: fail uploading file",e),n.reject(e)})},function(e){r.warn("sitePluginBgDialogService: error transforming image to blob",e),n.reject(e)}),n.promise):(r.warn("sitePluginBgDialogService: cannot upload file",e),s.getRejectedPromise())},recognizeImg:function(e){var t=o.defer();return(e=e||{}).imgUrl?(n.requestPost("//API/recognize",{photo_url:e.imgUrl}).then(function(e){r.log("sitePluginBgDialogService: img recognized successful",e),t.resolve(e)},function(e){r.warn("sitePluginBgDialogService: error recognizing img",e),t.reject(e)}),t.promise):(r.warn("sitePluginBgDialogService: cannot recognize img",e),s.getRejectedPromise())}};return e}]),angular.module("activetag").service("sitePluginBgService",["$log","$q","sitePluginBgDialogService","sitePluginBgCommonService",function(i,o,e,t){var n={},a={dialog:e,common:t};return n.message=function(e){i.log("sitePluginBgService: dispatch message",e),angular.isObject(e)||(e={action:e});function t(e){i.warn("sitePluginBgService: reject tab message",e),n.reject({success:!1,data:e})}var n=o.defer(),r=function(e){function t(e){e=e.split("::"),n.handler=e[0],n.method=e[1]}var n={method:"response",handler:null},r={};angular.isObject(e)?e.obj?(n.handler=e.obj,e.act&&(n.method=e.act),r=_.omit(e,"obj","act")):e.action&&(t(e.action),r=_.omit(e,"action")):t(String(e));return n.handler&&n.method?a[n.handler]?_.isFunction(a[n.handler][n.method])?function(e,t){e=_.extend(r,e||{});return t&&(e=_.omit(e,t)),a[n.handler][n.method](e)}:"handler "+n.handler+" has no method "+n.method:"bad handler "+n.handler:"bad message received"+e}(e);return angular.isFunction(r)?o.when(r()).then(function(e){i.log("sitePluginBgService: resolve tab message",e),n.resolve({success:!0,data:e})},t):(i.warn("sitePluginBgService: (client dispatching)",r||"cannot dispatch client message"+e),t(r)),n.promise},n}]),function(r){angular.module("activetag.config").service("configService",[function(){var n={},e=r.activetag&&angular.isObject(r.activetag.config)?r.activetag.config:{},t=r.activetag&&angular.isObject(r.activetag.userConfig)?r.activetag.userConfig:{};return n.debug=!1,n.devel=!1,n.logLevel="none",n.logLevelToCache="all",n.logCacheCapacity=0,n.logEntryMaxLength=400,n.useOrgsWhiteList=!0,n.useTagsWhiteList=!1,n.apiUrl="https://my.activetag.ru/browser",n.processImages=!0,n.processAllImages=!1,n.processDataAttrs=!0,n.processDataAttrsOnly=!1,n.processLinks=!0,n.tagDialogHosts="http://atag.online|https://atag.online|https://atag.dev.theactivetag.com|http://at.intuit.ru",n.enableConsole=!0,n.keepPanelOpen=!1,n.browserPluginRootClass="at-bp-active",n.sitePluginRootClass="at-sp-active",n.markdownFilters=["toHTML"],n.isSitePlugin=!1,angular.forEach(e,function(e,t){"_"!==t.charAt(0)&&(n[t]=e)}),angular.forEach(t,function(e,t){"_"!==t.charAt(0)&&(n[t]=e)}),n}])}(this),angular.module("activetag.config").service("logService",["configService",function(i){var o=["debug","log","info","warn","error"],a=[],s=_.object(o,_.keys(o)),u={},c=[],e=new Date;function l(e){var t=-1;return"none"==e?t=o.length+1:e in s&&(t=s[e]),+t}function r(e){return(e=angular.isObject(e)?angular.toJson(e):String(e).replace(/\n+/g," ")).length>i.logEntryMaxLength?e.slice(0,i.logEntryMaxLength)+"...":e}return u.getAllLevels=function(){return o},u.addPrefix=function(e){a.unshift("["+e+"]")},u.getDecorator=function(t,n){var r=s[t];return function(){var e=a.concat(_.toArray(arguments));r>=l(i.logLevel)&&n.apply(null,e),i.logCacheCapacity&&r>=l(i.logLevelToCache)&&(e.unshift(t),u.cache.apply(u,e))}},u.cache=function(){var e,t=_.toArray(arguments),n=t.shift();(t=_.map(t,r)).unshift([(e=new Date).getHours(),e.getMinutes(),e.getSeconds()].join(":"),"\t[",n,"]\t"),e=t.join(""),c.push(e),c.length>=i.logCacheCapacity&&c.shift()},u.getCached=function(){var e,t,n,r=c,i=_.toArray(arguments);return angular.isString(i[0])?(t=i.shift(),n=">"===t.charAt(0)?(t=t.substr(1),new RegExp("^[0-9:\t]+\\[(?:"+o.slice(l(t)).join("|")+")\\]")):"<"===t.charAt(0)?(t=t.substr(1),new RegExp("^[0-9:\t]+\\[(?:"+o.slice(0,l(t)+1).join("|")+")\\]")):new RegExp("^[0-9:\t]+\\["+t+"\\]"),e=i.shift()):angular.isNumber(i[0])&&(e=i.shift()),r=t?_.filter(r,function(e){return n.test(e)}):r,r=e?_.first(r,e):r},u.getCacheCapacity=function(){return c.length},u.clearCache=function(){c=[]},u.getInfo=function(){return{"started at":e,"working time":(new Date).getTime()-e.getTime()}},u}]),angular.module("activetag.panel").controller("PanelCtrl",["$scope","atService","apiService",function(e,t,n){e.isOnline=n.isOnline(),e.lang=t.lang,n.onConnected(function(){e.isOnline=!0,e.$apply()}),n.onDisconnected(function(){e.isOnline=!1,e.$apply()})}]),angular.module("activetag.panel").directive("activeTagDialog",["$log","$rootScope","$timeout","configService","atService","tagService","dialogService","pageInteractionService",function(r,i,e,o,t,a,s,u){return{templateUrl:t.getTemplateUrl("//panel/common/activeTagDialog"),replace:!0,link:function(n,e,t){n.IGNORE_CLASS=u.IGNORE_CLASS,n.tags=String(t.activeTagDialog||"").split(/ +/),angular.forEach(n.tags,function(e,t){n.tags[t]=a.parseTagStr(e)}),n.tag=n.tags[0],n.options=n.activeTagDialogOptions||{},n.isCloseable=!o.keepPanelOpen,n.dialog=s.getDialog({tagStr:t.activeTagDialog,sessionId:t.sessionId,imgElement:n.options.img}),r.log("activeTagDialog: run with tag=",n.tag,", sessionId=",t.sessionId," on",e),n.close=function(){n.dialogControl&&n.dialogControl.close&&n.dialogControl.close(),i.hidePanel()}}}}]),angular.module("activetag.panel").directive("panel",["$rootScope","$document","$window","$log","$compile","$timeout","$templateCache","configService","atService","utilsService","dispatchService","panelService","keyCodes","pageInteractionService","dialogService","panelExternalApiService","translateService",function(d,f,p,h,g,e,m,v,y,b,w,k,x,C,B,A,E){return{templateUrl:y.getTemplateUrl("//panel/common/panel"),replace:!0,link:function(n,r,e){var i,t,o,a=b.timersManager(),s=r.find("#at-panel-dialog-holder"),u=!1;function c(e){}function l(e){var t=angular.element(e.target);e.which===x.esc?(n.$apply(),e.stopPropagation(),e.preventDefault()):(t=angular.element(e.target)).is("input,textarea")&&t.closest("#at-panel").length&&(e.stopPropagation(),h.debug("panel: intercept key event on inner field: prevent its propagation"))}n.panelExpanded=k.panelExpanded,n.indexDisablable=v.indexDisablable,n.$on("panelOpened",function(){function t(){n||i.focus()}var n;a.resetTimer("keyUp"),f.on("mousedown",c).on("keydown keypress",l),f.on("keyup",l),r.on("keydown keypress",l),r.on("keyup",l),(i=i||$('<input type="checkbox" readonly role="serviceField" id="at-panel-service-field"/>').appendTo(r)).on("keydown keypress",l),i.on("keyup",l),n=!1,t(),f.on("focus.atServiceField","textarea,input,select",function(e){e.target!==i[0]&&(n=!0)}).on("blur.atServiceField","textarea,input,select",function(e){e.target===i[0]?a.setTimer("serviceFieldBlur",t,200):(i.focus(),n=!1)})}),n.$on("panelClosed",function(){f.off("mousedown",c).off("keydown keypress",l),r.off("keydown keypress",l),i&&i.off("keydown keypress",l),a.resetTimer("serviceFieldBlur"),a.setTimer("keyUp",function(){i&&i.off("keyup",l),f.off("keyup",l),r.off("keyup",l)},200),f.off(".atServiceField","textarea,input,select")}),d.hidePanel=function(){u=!1,r.hide(),B.resetActiveDialog(),h.log("panel hidden"),A.trigger(A.EVENT_CLOSE_PANEL)},d.onClickOverlay=function(){v.keepPanelOpen||d.hidePanel()},d.showPanel=function(e){e=_.extend(e||{},{}),n.activeTagDialogOptions=e;var t=angular.element(m.get(y.getUrl("//panel/common/directives/panel/panelActiveTagInitializer.html")));e.tag&&t.attr("data-active-tag-dialog",e.tag),e.sessionId&&t.attr("data-session-id",e.sessionId),r.show(),g(t.appendTo(s.html("")))(n),u=!0,h.log("panel showed with",e)},d.translate=E.translate,w.listen("runtime::panelShow",function(){d.showPanel()}).listen("runtime::panelHide",function(){n.hidePanel()}),f.on("click.atEvent","."+C.HANDLE_CLICK_CLASS,function(e){var t=angular.element(this),n=t.data("atAction");h.log("panel: element clicked"),n?C.handleAction(n,t):h.warn("at-click element has no data-at-action value"),t.data("atStopPropagation")&&e.stopPropagation(),e.preventDefault()}),A.listen(),r[0].addEventListener("DOMNodeRemoved",function(e){e.target===r[0]&&(r.find(">").trigger("$destroy").remove(),f.off(".atEvent"),k.destroy())},!1),(o=angular.element(".at-panel:first")[0])&&o!==r[0]&&(h.warn("Another panel container was found on the page ",o,";Start self removing"),r.remove()),location.href.match(/^(https?:\/\/(?:p(?:\.dev)?\.theactivetag\.com|my\.activetag\.ru))\/payment\//)&&"/payment/"===location.pathname&&(o=b.getUrlParameter("session_id"))&&(h.log("panel: wow, this page seems to be the complete payment page"),d.showPanel({sessionId:o})),(o=b.getUrlParameter("activetag")||b.getUrlHashParameter("activetag"))?(h.log("panel: wow, this page seems to force opening activetag"),d.showPanel({tag:o})):(t=location.href.match(/^https?:\/\/(?:atag\.dev\.theactivetag\.com|atag\.online|at\.intuit\.ru)\/([a-zA-Z0-9\-]+)\/?/))&&(o=t[1])&&(h.log("panel: wow, this page seems to force opening activetag with tag=",o),d.showPanel({tag:o})),a.setTimer("panelInit",function(){var e,t,n=_.debounce(function(){h.log("panel: re-run handling tags as DOM has changed"),p.clearTimeout(t),e=!0,C.highlightTags(),v.processImages&&C.highlightImages(),t=p.setTimeout(function(){e=!1},1e3)},2e3);C.highlightTags(),v.processImages&&(C.highlightImages(),w.listen("contextMenu::clickImageSearch",function(e){h.log("panel: got context menu item click with",e),e.srcUrl?C.handleImageByUrl(e.srcUrl):h.warn("panel: context menu object does not have `srcUrl`. Is it an image?")})),b.observeDom(document.body,function(){e||u||n()}),d.$on("dialogControl:resize",n)})}}}]),angular.module("activetag.panel").directive("panelStarter",["$compile","$log","panelService","configService","utilsService",function(a,s,u,c,l){return{link:function(r,i,e){var o=0,t=l.timersManager();function n(){var e,t=angular.element("#at-panel"),n=angular.element('<div data-panel data-instance-id="'+o+'"></div>');t.length&&(void 0!==(e=t.data("instanceId"))&&"undefined"!==e&&!isNaN(Number(e))||(e=0),o=e+1,t.remove()),o=o||1,n.attr("data-instance-id",o),u.setInstanceId(o),c.isSitePlugin&&s.log("panelStarter: no browser plugin detected thus starting"),u.registerOnRootElement(),s.log("panel started"),i.removeAttr("data-panel-starter").replaceWith(n),a(n)(r)}c.isSitePlugin?t.setTimer("sitePlugin",function(){u.isBrowserPluginRegistered()?s.info("panelStarter: do not start site plugin as browser plugin seems to be started already"):n()},500):n()}}}]),angular.module("activetag.panel").directive("stepBody",["$compile","$templateCache","$timeout","$rootScope","atService","utilsService","pageInteractionService",function(i,e,o,a,t,s,u){var c=e.get(t.getUrl("//panel/common/directives/stepBody/stepBodyContent.html"));return{templateUrl:t.getTemplateUrl("//panel/common/stepBody"),replace:!0,link:function(t,n,e){var r=n.find('[data-role="content"]');t.IMG_IGNORE_CLASS=u.IMG_IGNORE_CLASS,t.$watch(function(){return[t.dialog.steps.length,t.dialog.steps.length&&t.dialog.steps[t.dialog.steps.length-1]&&t.dialog.steps[t.dialog.steps.length-1].id||0].join("")},function(){t.step=_.last(t.dialog.steps),t.step&&t.step.type&&r.attr("data-step-body-"+s.dasherize(t.step.type),"");r.html(c),i(r)(t),o(function(){a.$emit("dialogControl:resize")})}),t.toggleMenuItem=function(e){e&&e.req&&e.req.length?e.interactive||(e.interactive=!0,o(function(){a.$emit("dialogControl:resize"),n.find("input:text:visible:first").focus()})):t.dialog.activateMenuItem(e).finally(function(){a.$emit("dialogControl:resize")})},t.cancelMenuItem=function(e){e&&(e.interactive=!1),a.$emit("dialogControl:resize")},t.submitMenuItem=function(e){t.dialog&&t.dialog.activateMenuItem(e).finally(function(){a.$emit("dialogControl:resize")})}}}}]),angular.module("activetag.panel").directive("stepField",["$log","atService","apiService",function(r,e,i){return{templateUrl:e.getTemplateUrl("//panel/common/stepField"),replace:!0,link:function(n,e,t){n.fieldHistoryOn=!1,n.isAutofill=n.item&&n.item.autofill,n.field&&(angular.isArray(n.field.values)&&(n.field.values=_.compact(n.field.values),n.field.values.length&&(n.dataListId=_.uniqueId("field-data_"))),"select"===n.field.type&&angular.isArray(n.field.options)&&(n.field.optionsReady=_.chain(n.field.options).compact().uniq().map(function(e){return{title:e,value:e}}).value(),n.field.title&&n.field.optionsReady.unshift({title:"—"}))),n.onSelectChange=function(e){e&&e.optionsReady&&e.optionsReady[0]&&!e.optionsReady[0].value&&(e.optionsReady.shift(),n.onSelectChange=function(){})},n.toggleFieldHistory=function(){n.fieldHistoryOn=!n.fieldHistoryOn},n.deleteFieldHistoryItem=function(t){r.log("stepField: delete value",t," of the field",n.field),i.request("dialog::deleteFieldValue",{type:n.field.type,value:t}),n.field.values=_.filter(n.field.values,function(e){return e!==t}),n.field.values.length||(n.fieldHistoryOn=!1,n.dataListId=null)},n.applyFieldHistoryItem=function(e){"number"===n.field.type?n.item.fields[n.$index].value=+e:n.item.fields[n.$index].value=e},n.isAutofill&&n.field.values&&n.field.values.length&&n.applyFieldHistoryItem(n.field.values[0])}}}]),angular.module("activetag.panel").directive("stepFieldCameraImage",["$log","$timeout","$rootScope","atService",function(u,c,l,e){return{templateUrl:e.getTemplateUrl("//panel/common/stepFieldCameraImage"),replace:!0,scope:{title:"@",model:"="},link:function(t,e,n){t.capturedSrc=null,t.is={streamActive:!1,streamNotSupported:!1},t.tryOpenStream=function(){t.is.streamNotSupported=!1,"mediaDevices"in navigator&&null==i?navigator.mediaDevices.getUserMedia({video:{audio:!1,video:!0,width:{min:1280,ideal:1920,max:2560},height:{min:720,ideal:1080,max:1440},facingMode:"environment"}}).then(function(e){i=e,t.$apply(a)}).catch(function(e){u.warn("Unable to access camera: "+e),t.$apply(s)}):(u.warn("Browser does not support media devices"),t.$apply(s))},t.closeStream=function(){t.is.streamActive=!1,null!==i&&(i.getTracks()[0].stop(),r.load(),i=null),l.$emit("dialogControl:resize")},t.capture=function(){null!==i&&o&&r&&(o.width=r.videoWidth,o.height=r.videoHeight,o.getContext("2d").drawImage(r,0,0),t.capturedSrc=o.toDataURL("image/png"),t.model=t.capturedSrc),t.closeStream(),l.$emit("dialogControl:resize")},t.removeCaptured=function(){t.capturedSrc=null,l.$emit("dialogControl:resize")};var r,i=null,o=e.find("canvas")[0];function a(){t.is.streamActive=!0,c(function(){(r=e.find("video")[0])?(r.setAttribute("autoplay",""),r.setAttribute("muted",""),r.setAttribute("playsinline",""),r.srcObject=i,r.play()):u.warn("Video element not found")})}function s(){t.is.streamActive=!1,t.is.streamNotSupported=!0}}}}]),angular.module("activetag.panel").directive("stepFieldCameraQr",["$log","$timeout","$rootScope","$window","atService",function(l,d,f,p,e){return{templateUrl:e.getTemplateUrl("//panel/common/stepFieldCameraQr"),replace:!0,scope:{title:"@",model:"=",onQrDetect:"&",cameraAutoOpen:"@"},link:function(n,e,t){n.is={streamOpen:!1,streamNotSupported:!1,streamLoading:!1,streamError:!1},n.tryOpenStream=function(){n.is.streamNotSupported=!1,n.is.streamError=!1,n.is.streamOpen=!0,n.is.streamLoading=!0,void 0===navigator.mediaDevices?(l.warn("Browser does not support media devices"),n.$apply(u)):navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:"environment"}}).then(function(e){a=e,n.$apply(s)}).catch(function(e){l.warn("getUserMedia failed",e.toString()),n.$apply(u)})},n.closeStream=function(){n.is.streamOpen=!1,null!==a&&(a.getTracks()[0].stop(),o.load(),a=null),f.$emit("dialogControl:resize")},n.cameraAutoOpen&&n.tryOpenStream();var r,i,o,a=null;function s(){d(function(){if(o=e.find('[data-role="stream-video"]')[0],!(r=e.find('[data-role="stream-buffer"]')[0])||!o||"function"!=typeof p.jsQR)return l.warn("Something is missing: video, canvas or jsQR"),n.is.streamLoading=!1,void(n.is.streamError=!0);i=r.getContext("2d"),o.srcObject=a,o.onloadedmetadata=function(){p.requestAnimationFrame(c)}})}function u(){n.is.streamNotSupported=!0,n.is.streamLoading=!1}function c(){if(n.is.streamError=!1,n.is.streamLoading=!1,o.readyState===o.HAVE_ENOUGH_DATA){r.height=o.videoHeight,r.width=o.videoWidth,i.drawImage(o,0,0,r.width,r.height);var e,t=i.getImageData(0,0,r.width,r.height);try{e=p.jsQR(t.data,t.width,t.height,{inversionAttempts:"dontInvert"})}catch(e){l.warn("Error in jsQR: ",e.toString())}e&&e.data&&(t=e.data,n.model||(n.model=t,n.closeStream(),n.onQrDetect&&n.onQrDetect()))}p.requestAnimationFrame(function(){n.$apply(c)})}}}}]),angular.module("activetag.panel").directive("stepImg",["$log","$rootScope","$timeout","atService","pageInteractionService",function(e,i,t,n,o){return{scope:{src:"=stepImg"},link:function(e,n,t){var r;e.$watch("src",function(e){var t=angular.element("<img/>").addClass(o.IMG_IGNORE_CLASS).addClass("at-dialog__result-image").on("load",function(){i.$emit("dialogControl:resize")});r&&r.remove();e&&(t.attr("src",e).appendTo(n),r=t)})}}}]),angular.module("activetag.panel").directive("stepTitle",["$compile","$templateCache","atService","utilsService",function(r,e,t,i){var o=e.get(t.getUrl("//panel/common/directives/stepTitle/stepTitleContent.html"));return{templateUrl:t.getTemplateUrl("//panel/common/stepTitle"),replace:!0,link:function(e,t,n){t=t.find('[data-role="content"]');e.step&&e.step.type&&t.attr("data-step-title-"+i.dasherize(e.step.type),""),t.html(o),r(t)(e)}}}]),angular.module("activetag.panel").directive("stepVideo",["$log","$rootScope","$timeout","atService","utilsService",function(e,i,o,t,a){return{scope:{src:"=stepVideo"},link:function(e,n,t){var r;e.$watch("src",function(e){var t;r&&r.remove();return e&&(t=a.getYoutubeIdFromUrl(e))?function(e){e&&(r=angular.element('<iframe class="at-dialog__result-video" src="https://www.youtube.com/embed/'+e+'?rel=0&amp;showinfo=0&amp;autoplay=1&amp;mute=1" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>').appendTo(n),o(function(){i.$emit("dialogControl:resize")},500))}(t):e&&(t=a.getVimeoIdFromUrl(e))?function(e){e&&(r=angular.element('<iframe class="at-dialog__result-video" src="https://player.vimeo.com/video/'+e+'?&amp;muted=1&amp;autoplay=1" frameborder="0" allowfullscreen></iframe>').appendTo(n),o(function(){i.$emit("dialogControl:resize")},500))}(t):e?function(e){e&&(r=angular.element('<video class="at-dialog__result-video" autoplay muted loop><source src="'+e+'"></video>').appendTo(n),o(function(){i.$emit("dialogControl:resize")},500))}(e):void 0})}}}]),angular.module("activetag.panel").service("dialogService",["$log","$rootScope","$q","$http","configService","utilsService","tagService","apiService",function(i,n,o,e,t,a,s,r){var u,c=0,l={};function d(){}return d.prototype={init:function(e){var n=this;function r(){n.load().then(function(e){n.addStep(e)})}this.options=_.defaults(e||{},{}),this.tags=[],this.options.tagStr&&(e=String(this.options.tagStr).split(/ +/),angular.forEach(e,function(e,t){e=s.parseTagStr(e);e&&e.partner&&n.tags.push(e)}),this.tag=this.tags[0]),this.options.imgElement&&(this.imgElement=this.options.imgElement),this.devMode=t.devMode,this.state={loading:!1},this.steps=[],this.id=++c,this.stepsCounter=0,this.sessionId=this.options.sessionId||null,this.tag&&this.tag.partner||this.imgElement||this.sessionId?!this.tag&&this.imgElement?(this.state.loading=!0,l.processImg(this.imgElement).then(function(e){var t=[];(n.imgParseRes=e)&&e.tags&&e.tags.length?(angular.forEach(e.tags,function(e){e&&e.partner&&(s.completeTag(e),t.push(e))}),n.tags=t,n.tag=n.tags[0],r()):e.text&&e.is_qr?n.qrText=e.text:n.state.errorParsingImg=!0}).finally(function(){n.state.loading=!1})):!this.tag&&this.sessionId?n.load().then(function(e){n.addStep(e)}):r():i.warn("dialogService: cannot create a dialog instance due to the bad tag:",this.tag,this.options.tagStr," (and no image, no session id )")},load:function(e){var t=this,n=o.defer(),e=(this.state.loading=!0,_.defaults(e||{},{sessionId:this.sessionId}));return this.tag&&(e.tag=this.tag),i.log("dialogService: loading messages with",e),r.request("dialog::messages",e).then(function(e){e.session_id&&e.session_id!=t.sessionId&&(t.sessionId=e.session_id,i.log("dialogService: store sessionId",t.sessionId)),i.log("dialogService: loading messages ok",e),n.resolve(t.processStep(e))},function(e){i.log("dialogService: loading messages failed",e),n.reject(e)}).finally(function(){t.state.loading=!1}),n.promise},processStep:function(e){return e=angular.extend({type:"default",menu:[],id:this.stepsCounter++},e),angular.forEach(e.menu,function(e){e.name&&e.name.match(/(в главное меню|завершить просмотр)/i)?e.type=-1:e.type=0,e.req&&e.req.length?(e.fields=_.map(e.req,function(e){return e?_.pick(e||{},"type","name","value"):{}}),e.interactive=!!e.autoexpand):e.fields=[]}),e},activateMenuItem:function(t){if(!t||!angular.isDefined(t.num))return i.warn("dialogService: cannot activate menu item",t),a.getRejectedPromise();if(t.cost&&!t.payment_id)return this.activatePaidMenuItem(t);var n=this,r=o.defer(),e={menu_item_id:t.num,fields:[].concat(t.fields||[])};return angular.forEach(e.fields,function(e){e&&"string"!=typeof e&&("date"===e.type&&angular.isDate(e.value)?e.value=a.dateFormat(e.value):"time"===e.type&&angular.isDate(e.value)?e.value=a.timeFormat(e.value):void 0!==e.value&&(e.value=String(e.value)))}),t.payment_id&&(e.payment_id=t.payment_id),this.load(e).then(function(e){n.addStep(e,{posOffset:-1===t.type?-1:0}),r.resolve(e)},r.reject),r.promise},activatePaidMenuItem:function(t){var e=this,n=o.defer();return i.log("dialogService: activate PAID menu item cost=",t.cost," item=",t),this.state.loading=!0,l.getPaymentDetails({sessionId:this.sessionId,amount:t.cost,menu_item_id:t.num,fields:t.fields||[]}).then(function(e){t.payment_id=e.payment_id,l.submitPayment(e)},function(){e.state.loading=!1}),n.promise},addStep:function(e,t){e?(t=_.defaults(t||{},{posOffset:1}),i.log("dialogService: adding new step",e,"with",t),0<t.posOffset?this.steps.push(e):t.posOffset<0?this.steps.splice(this.steps.length-1+t.posOffset,1-t.posOffset,e):this.steps.splice(this.steps.length-1,1,e),n.$emit("dialogControl:resize")):i.warn("dialogService: cannot add empty step",e)},applyTag:function(e){var t=this;e&&e.partner&&(i.log("dialogService: set dialog tag to",e),this.tag=e,this.sessionId=null,this.load().then(function(e){t.addStep(e,{posOffset:0})}))},goBackToStep:function(e){e===this.steps.length-1?i.warn("dialogService: cannot go back to step",e):(i.log("dialogService: going back to step",e),a.updateArray(this.steps,_.first(this.steps,e+1)))},reset:function(){a.clearArray(this.steps)}},l.getDialog=function(e){var t=new d;return t.init(e),u=t},l.resetActiveDialog=function(){u&&u.reset()},l.processImg=function(e){var t=o.defer(),e=e.prop("src");return l.uploadImg(e).then(function(e){l.recognizeImg(e.url).then(t.resolve,t.reject)},t.reject),t.promise},l.uploadImg=function(e){var t=o.defer();return r.request("dialog::uploadFile",{fileUrl:e}).then(function(e){i.log("dialogService: img uploaded successful",e),t.resolve({url:e.file_url})},function(e){i.warn("dialogService: error uploading image",e),t.reject(e)}),t.promise},l.recognizeImg=function(e){var t=o.defer();return r.request("dialog::recognizeImg",{imgUrl:e}).then(function(e){i.log("dialogService: img recognized successful",e),t.resolve(e)},function(e){i.warn("dialogService: error recognizing img",e),t.reject(e)}),t.promise},l.getPaymentDetails=function(e){var t=o.defer();return r.request("dialog::payments",_.pick(e||{},"sessionId","amount","fields","menu_item_id")).then(function(e){e.payment_id?(i.log("dialogService: got payment details",e),t.resolve(e)):(i.warn("dialogService: failed getting payment details",e),t.reject(e))},t.reject),t.promise},l.submitPayment=function(e){e&&e.checkout_url?(i.log("dialogService: redirect to payment checkout url",e.checkout_url),location.href=e.checkout_url):i.warn("dialogService: cannot redirect to payment checkout url",e)},l}]),angular.module("activetag.panel").service("pageInteractionService",["$log","$q","$rootScope","utilsService","configService","apiService","tagService",function(d,o,a,s,f,u,c){var t,p="at-click-action",h="activetag-ignore",l="at-img__img",n="activetag-img-ignore",g="at-click",m="at-click-0",e={HANDLE_CLICK_CLASS:p,IMG_IGNORE_CLASS:n,IGNORE_CLASS:h},v={},y=[],$={};function b(r){var n,i,o,a,t,s,u,c,l,e;f.processDataAttrs&&(n=r,n=angular.extend({whiteListOrgs:null,whiteListTags:null,replacePredicate:function(){return!0}},n||{}),i=0,(o=w(n))?(d.log("pageInteractionService: start finding data attrs with options=",n),angular.element("[data-activetag]:not(img):not(."+g+"):not(."+h+")").each(function(){var e,t=angular.element(this);(e=t.data("activetag").match(o))&&(e=e[1]||e[4],!1!==n.replacePredicate(e)&&(i++,t.addClass(g).addClass(p).attr("data-at-action","dialog('"+e+"')").append('<span class="at-click__logo"></span>')))}),d.log("pageInteractionService: handled:",i)):d.log("pageInteractionService: no tags to highlight, options=",n),f.processDataAttrsOnly)||(f.processLinks&&f.tagDialogHosts&&(a=0,e=f.tagDialogHosts.split("|"),t=[],angular.forEach(e,function(e){t.push('a[href^="'+e+'"]')}),d.log("pageInteractionService: start finding links with selector=",t),angular.element(t.join(",")).filter(":not(."+g+"):not(."+m+"):not(."+h+")").each(function(){var e=angular.element(this),t=e.attr("href").match(new RegExp("^(?:"+f.tagDialogHosts+")/(.+)$"));t&&(t=t[1])&&(a++,e.addClass(m).addClass(p).attr("data-at-action","dialog('"+t+"')"))}),d.log("pageInteractionService: handled:",a)),r=angular.extend({whiteListOrgs:null,whiteListTags:null,replacePredicate:function(){return!0}},r||{}),c=u=s=0,l=angular.extend({a:1},findAndReplaceDOMText.NON_PROSE_ELEMENTS),(e=w(r))?(d.log("pageInteractionService: start finding tags with pattern",e," options=",r),findAndReplaceDOMText(document.body,{find:new RegExp(e,"gi"),forceContext:!0,filterElements:function(e){return!{}.hasOwnProperty.call(l,e.nodeName.toLowerCase())},replace:function(e,t){var n=t[0],t=t[1]||t[4];return s++,e&&e.node&&((e=angular.element(e.node)).hasClass(g)||e.closest("."+g).length||e.hasClass(h)||e.closest("."+h).length)?(c++,n):!1===r.replacePredicate(t)?n:(u++,angular.element('<span class="'+g+" "+p+'" data-at-action="dialog('+t+')">'+n+'<span class="at-click__logo"></span></span>')[0])}}),d.log("pageInteractionService: found",s," tag match(es); handled:",u,"; skipped already handled:",c)):d.log("pageInteractionService: no tags to highlight, options=",r))}function w(e){return(e=angular.extend({whiteListOrgs:null,whiteListTags:null},e||{})).whiteListTags&&e.whiteListTags.length?"(?:activetag:|%)("+e.whiteListTags.join("|")+")\\b":e.whiteListOrgs&&e.whiteListOrgs.length?"(?:activetag:|%)((?:"+e.whiteListOrgs.join("|")+")(?:-([a-z0-9-]+))?)\\b":"(?:activetag:|%)(([a-z0-9])+(?:-([a-z0-9-]+))?)\\b"}return v.dialog=function(e){a.showPanel({tag:e})},v.dialogImg=function(e,t){e=e.siblings("."+l);a.showPanel({img:e,tag:t})},e.handleAction=function(e,t){var n,r,i;e?(n=e.match(/([a-zA-Z0-9_]+)(?:\(([^\)]+)\))?/))&&(i=n[1],n[2]&&(r=_.map(String(n[2]).split(/ *, */),function(e){e=s.trim(e,"\"'");return e="__elem__"===e?t:e})),v[i]?(d.log("pageInteraction: run action",i,"with params",r),v[i].apply(null,r),a.$apply()):d.warn("pageInteraction: unknown action",i)):d.warn("pageInteraction: incorrect action got",e)},e.highlightTags=function(){var i;f.useOrgsWhiteList?(i=[],function(){if(t)return t.promise;return t=o.defer(),u.request("common::organizations").then(function(e){e&&e.organizations?(d.log("pageInteractionService: loaded organizations",e.organizations),s.updateArray(y,e.organizations)):(d.log("pageInteractionService: loaded empty organizations",e),s.clearArray(y)),t.resolve(e)},function(e){d.warn("pageInteractionService: error loading organizations",e),t.reject(e)}),t.promise}().then(function(){var n,r,t;b({whiteListOrgs:y,replacePredicate:function(e){return!f.useTagsWhiteList||(i.push(e),!1)}}),f.useTagsWhiteList&&(i.length?(d.log("pageInteractionService: found tags candidates",i,"checking which ones exist..."),n=i,r=o.defer(),t=[],angular.forEach(n,function(e){t.push(function(t){if($[t])return $[t].promise;return $[t]=o.defer(),u.request("dialog::messages",{tag:c.parseTagStr(t)}).then(function(e){$[t].resolve(e)},$[t].reject),$[t].promise}(e))}),o.all(t).then(function(e){var t=[];angular.forEach(n,function(e){t.push(e)}),r.resolve(t)}),r.promise.then(function(e){d.log("pageInteractionService: loaded tags white list",e),b({whiteListTags:e})},function(e){d.info("pageInteractionService: none of the tags candidate exist",e)})):d.log("pageInteractionService: found no tags candidates, nothing to do"))},function(e){d.log("pageInteractionService: error loading orgs white list, nothing to do",e)})):b()},e.highlightImages=function(){d.debug("pageInteractionService: start finding images...");var e=f.processAllImages?"img:not(."+l+"):not(."+n+")":"img[data-activetag]:not(."+l+"):not(."+n+")";angular.element(e).each(function(){var e=angular.element(this),t=s.trim(e.data("activetag")||"").split(/ +/).join(" "),n=s.trim(e.data("activetagShow")||""),r=["at-img"],i=["__elem__"];t&&i.push(t),n&&r.push("at-img_mode-"+n),e.addClass(l).wrap('<span class="'+r.join(" ")+'"></span>'),e.parent().append('<span class="at-img__btn '+p+'" data-at-action="dialogImg('+i.join(",")+')" data-at-stop-propagation="1"  title="Распознать активные теги на картинке"><span class="at-img__btn-icon"></span></span>')})},e.handleImageByUrl=function(n){d.log("pageInteractionService: start handling image by url",n);var e=String(n).split("/").pop(),e=angular.element('img[src$="'+e+'"]').filter(function(e,t){return angular.element(t).prop("src")===n});e.length?a.showPanel({img:e}):d.warn("pageInteractionService: cannot find image by url",n)},e}]),angular.module("activetag.panel").service("panelExternalApiService",["$log","$window","$rootScope","utilsService",function(n,r,t,e){var i,o="data-activetag-commands",a={EVENT_CLOSE_PANEL:"activetag:close"};function s(e){e&&e.tag?(n.log("panelExternalApiService: received external command",e,"and opening dialog for tag",e.tag),t.showPanel({tag:e.tag})):n.warn("panelExternalApiService: cannot handle command",e)}function u(e){e&&e.source===r&&e.data&&e.data.type&&"activetag"===e.data.type&&s(e.data)}return a.trigger=function(e,t){e=angular.extend({type:e},t||{}),r.postMessage&&(r.postMessage(e,"*"),n.log("panelExternalApiService: send",e))},a.listen=function(){var e;if(i=i||angular.element(document.body),e=i.attr(o))try{e=JSON.parse(e)}catch(e){}angular.isArray(e)&&e.length&&(n.log("panelExternalApiService: got not empty queue of external commands",e,"\n...running the last command and cleaning"),s(e.pop()),i.attr(o,"")),r.addEventListener("message",u,!1)},a}]),angular.module("activetag.panel").service("panelService",["$q","$log","$rootScope","configService","eventsFabricService","utilsService","logService","dispatchService",function(e,t,n,r,i,o,a,s){var u,c,l={};function d(){return c=c||angular.element(document.body)}return l.panelExpanded=function(e){return u=arguments.length?e:u},l.setInstanceId=_.once(function(e){a.addPrefix((r.isSitePlugin?"s":"b")+e)}),l.registerOnRootElement=function(){d().addClass(r.isSitePlugin?r.sitePluginRootClass:r.browserPluginRootClass)},l.isBrowserPluginRegistered=function(){return d().hasClass(r.browserPluginRootClass)},l.destroy=function(){t.info("destroy panel"),n.$emit("appDestroy"),i.destroy(),o.destroyTimers(),s.unListen()},l.getClearedDocTitle=function(e){return(e||"").replace(/^\d+:: |^\d+::$/,"")},l}]),angular.module("utils").directive("dialogControl",["$timeout","$window","$rootScope",function(c,e,l){var d=angular.element(e);return function(e,t,n){var r,i=!1,o="at-dialog_inactive",a="at-dialog_static",s=t;function u(){s.length&&s.is(":visible")&&i&&(-20<(r=angular.isUndefined(r)?Math.max(0,s.offset().top-d.scrollTop()):r)+s.outerHeight()-d.height()?s.css({position:"absolute",top:s.offset().top}):s.css({position:"",top:""}))}e.dialogControl={close:function(){t.removeClass(a),t.addClass(o),i=!1,d.off("resize",u),c(function(){t.remove()},100)}},t.addClass(o),c(function(){t.removeClass(o),c(function(){i=!0,u(),t.addClass(a)},300)},200),d.on("resize",u),l.$on("dialogControl:resize",function(){c(u)})}}]),angular.module("utils").service("eventsFabricService",[function(){var n=[],e={};return e.getInstance=function(e){e=_.defaults(e||{},{});var o=angular.element("<div/>"),t={};return _.map(["on","off","trigger"],function(i){t[i]=function(n,r){return function(){var e,t=_.toArray(arguments);return n&&t.unshift(n),"trigger"===i&&r&&(e=_.isFunction(r)?r():r,t[1]=_.extend(t[1]||{},e)),o[i].apply(o,t)}}}),t.destroy=function(){o.off().remove(),t=null},n.push(t),t},e.destroy=function(){for(;n.length;)n.shift().destroy()},e}]),angular.module("utils").service("tasksQueueService",[function(){var e={},t={};function n(e){var t=r(e);if(t.tasks.length&&t.subscriber)for(;t.tasks.length;)t.subscriber(t.tasks.shift())}function r(e){return t[e]||(t[e]={subscriber:null,tasks:[]}),t[e]}return e.subscribe=function(e,t){r(e).subscriber=t,n(e)},e.pushTask=function(e,t){r(e).tasks.push(t),n(e)},e}]),angular.module("utils").service("tickService",["$timeout","$log","eventsFabricService","utilsService",function(e,t,n,r){var i=r.timersManager(),r=n.getInstance({name:"tick"}),o=r.on("tick"),a=r.trigger("tick"),s=!1,n={};function u(){a(),i.setTimer("tick",u,5e3),t.debug("tick")}return n.onTick=function(e){o(e),s||(s=!0,i.setTimer("tick",u,5e3))},n.offTick=r.off("tick"),u(),n}]),angular.module("utils").service("utilsService",["$timeout","$window","$q","$rootScope",function(o,n,a,r){var e,s,t,i,u={},c=angular.element(n),l=document.createElement("a");function d(e,t){if(t<1)return"";for(var n="";0<t;)1&t&&(n+=e),t>>=1,e+=e;return n}return u.parseUrl=function(e){return l.href=e,l},u.getUrlParameter=function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[null,""])[1].replace(/\+/g,"%20"))||null},u.getUrlHashParameter=function(e){return decodeURIComponent((new RegExp("[#|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.hash||"")||[null,""])[1].replace(/\+/g,"%20"))||null},u.getHrefWithoutHash=function(e){return e.protocol+"//"+e.hostname+(e.port?":"+e.port:"")+e.pathname+e.search},u.getYoutubeIdFromUrl=function(e){e=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);return!(!e||11!=e[7].length)&&e[7]},u.getVimeoIdFromUrl=function(e){e=e.match(/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/);return!(!e||!e[5])&&e[5]},u.elementDestructor=function(e){var t=[];return e.on("$destroy",function(){angular.forEach(t,function(e){e()})}),{push:_.bind(t.push,t)}},u.scopeDestructor=function(e){var t=[];return e.$on("$destroy",function(){angular.forEach(t,function(e){e()})}),{push:_.bind(t.push,t)}},u.l10n=function(){return arguments[0]?chrome.i18n.getMessage.apply(chrome.i18n.getMessage,arguments):""},u.l10nPlural=function(){if(!arguments[0])return"";var e=chrome.i18n.getMessage.apply(chrome.i18n.getMessage,_.map(arguments,String));return e=e&&e.replace(/\[quant,([^\]]+)\]/g,function(e,t){var t=t.split(","),n=parseInt(t.shift());return t[n%10==1&&n%100!=11?0:2<=n%10&&n%10<=4&&(n%100<10||20<=n%100)?1:2]||t.pop()})},u.numberFormat=function(e,t){if(!e)return e;var e=e.toString().split("."),n=e.shift(),e=e.shift(),r=[];for(angular.isDefined(t)||(t=" ");2<n.length;)r.unshift(n.substr(n.length-3,n.length)),n=n.substr(0,n.length-3);return n.length&&r.unshift(n),[r.join(t),e?","+e:""].join("")},u.timeFormat=function(e){var t;return angular.isDate(e)?[t=(t=e.getHours())<10?"0"+t:t,t=(t=e.getMinutes())<10?"0"+t:t].join(":"):e},u.dateFormat=function(e){var t;return angular.isDate(e)?[t=(t=e.getDate())<10?"0"+t:t,t=(t=e.getMonth()+1)<10?"0"+t:t,e.getFullYear()].join("."):e},u.getLocale=function(){return"function"==typeof chrome.i18n.getUILanguage?chrome.i18n.getUILanguage():chrome.i18n.getMessage("@@ui_locale")},u.updateArray=function(n,e){n.length=0,_.each(e,function(e,t){n[t]=e})},u.clearArray=function(e){e.length=0},u.clearObject=function(n){_.each(n,function(e,t){delete n[t]})},u.updateObject=function(e,t){u.clearObject(e),_.extend(e,t)},u.makeUrlClickable=function(e){return!e||e.match(/^(?:https?:\/\/|javascript:)/)?e:"http://"+e},u.normalizeUrl=function(e){return e?String(e).toLocaleLowerCase().replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/$/,""):""},u.getReadableUrl=function(e){return u.normalizeUrl(e).replace(/^(?:chrome|tel|mailto|ftp):\/\//,"")},u.urlTemplate=function(e,t){return _.template(e,{interpolate:/\:([a-zA-Z0-9_]+)/g})(t)},e=[],u.timersManager=function(){var r={},t={resetTimer:i,setTimer:function(e,t,n){return i(e),r[e]=o(t,n||0)},destroy:function(){_.each(r,function(e,t){i(t)}),t=null}};function i(e){return r[e]&&(o.cancel(r[e]),r[e]=null),t}return e.push(t),t},u.destroyTimers=function(){for(;e.length;)e.shift().destroy()},u.onWindowFocus=function(){var t=a.defer();return document.hasFocus()?t.resolve():c.on("focus",function e(){t.resolve();c.off("focus",e);r.$apply()}),t.promise},u.cleanAngularObject=function(e){if(!angular.isObject(e))return e;var n={};return angular.forEach(e,function(e,t){t.match(/^\$\$.+/)||(n[t]=e)}),n},u.stripTags=function(e,t){t=_.map(t||[],function(e){return String(e).toLocaleLowerCase()});for(var n=document.createElement("div"),e=(n.innerHTML=e,n),r=Array.prototype.slice.apply(e.getElementsByTagName("*"),[0]),i=0;i<r.length;i++)if(-1===t.indexOf(String(r[i].nodeName).toLocaleLowerCase())){u=s=a=void 0;for(var o=r[i],a=o,s=o.childNodes.length-1;0<=s;s--){var u=o.removeChild(o.childNodes[s]);o.parentNode.insertBefore(u,a),a=u}o.parentNode.removeChild(o)}return n.innerHTML},u.getResolvedPromise=function(e){var t=a.defer();return t.resolve(e),t.promise},u.getRejectedPromise=function(e){var t=a.defer();return t.reject(e),t.promise},u.wrapPromise=function(e,t,n){var r;return function(){return r||(r=a.defer(),e().then(function(e){t&&t(e),r.resolve(e)},function(e){n&&n(e),r.reject(e)})),r.promise}},u.isEmail=function(e){return e&&/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},u.getPlatformSignature=function(){var e=n.navigator&&n.navigator.userAgent?n.navigator.userAgent:"";if(e)return e.match(/Opera|OPR\//)?"opera":e.match(/Firefox/)?"firefox":e.match(/YaBrowser/)?"yandex":e.match(/Chrome/)?"chrome":void 0},u.inheritFunction=function(n,e,t){function r(){}return r.prototype=e.prototype,n.prototype=new r,(n.prototype.constructor=n).superClass=e,n.prototype._parent=e.prototype,n.prototype._parentMethod=function(e){var t=Array.prototype.slice.call(arguments);if(_.isFunction(n._parent[e]))return t=t.slice(1),n._parent[e].call(n,t[0],t[1],t[2])},n.prototype._superMethod=function(e){if("function"==typeof n._parent[e])return n._parent[e].apply(n,Array.prototype.slice.call(arguments,1))},_.isObject(t)&&angular.element.extend(n.prototype,t),n},u.removeClassByPrefix=function(e,t){var n=[];angular.forEach((angular.element(e).attr("class")||"").split(" "),function(e){0===e.search(t)&&n.push(e)}),n.length&&angular.element(e).removeClass(n.join(" "))},u.getValueFromClass=function(e,t){var n="";return _.find((angular.element(e).attr("class")||"").split(" "),function(e){if(0===e.search(t))return n=e.substr(t.length),!0}),n},s={},u.loadImage=function(e){if(s[e])return s[e].promise;var t=a.defer(),n=new Image,r=o(i,2e3);function i(){t.resolve(),delete s[e],o.cancel(r)}return angular.element(n).on("load",i),s[e]=t,n.src=e,t.promise},u.openPopup=function(e){var e=angular.extend({url:"",name:"popup",width:600,height:600,centered:!0,scrollbars:!0},e||{}),t=_.pick(e,"width","height");return e.centered&&(t.top=Math.max(0,.5*(c.height()-e.height)),t.left=Math.max(0,.5*(c.width()-e.width))),e.scrollbars&&(t.scrollbars="yes"),n.open(e.url,e.name,_.reduce(t,function(e,t,n){return e.push([n,t].join("=")),e},[]).join(","))},u.openWindow=function(e){return n.open(e)},u.observeDom=(t=n.MutationObserver||n.WebKitMutationObserver,i=n.addEventListener,function(e,n){t?new t(function(e,t){(e[0].addedNodes.length||e[0].removedNodes.length)&&n()}).observe(e,{childList:!0,subtree:!0}):i&&(e.addEventListener("DOMNodeInserted",n,!1),e.addEventListener("DOMNodeRemoved",n,!1))}),u.imgUrlToBlob=function(e){var t=a.defer(),n=new XMLHttpRequest;return n.onload=function(){var e=new FileReader;e.onloadend=function(){t.resolve(u.dataUrlToBlob(e.result))},e.readAsDataURL(n.response)},n.open("GET",e),n.responseType="blob",n.send(),t.promise},u.dataUrlToBlob=function(e){if(-1==e.indexOf(";base64,"))return r=(t=e.split(","))[0].split(":")[1],n=decodeURIComponent(t[1]),new Blob([n],{type:r});for(var t,n,r=(t=e.split(";base64,"))[0].split(":")[1],i=(n=window.atob(t[1])).length,o=new Uint8Array(i),a=0;a<i;++a)o[a]=n.charCodeAt(a);return new Blob([o],{type:r})},u.dasherize=function(e){return e&&String(e).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},u.trim=function(e,t){return null==e?"":(t=null==(n=t)?"\\s":n.source||"["+u.escapeRegExp(n)+"]",String(e).replace(new RegExp("^"+t+"+|"+t+"+$","g"),""));var n},u.escapeRegExp=function(e){return null==e?"":String(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},u.lpad=function(e,t,n){return u.pad(e,t,n)},u.pad=function(e,t,n,r){e=e?String(e):"",t=~~t;var i=0;switch(n?1<n.length&&(n=n.charAt(0)):n=" ",r){case"right":return e+d(n,i=t-e.length);case"both":return i=t-e.length,d(n,Math.ceil(i/2))+e+d(n,Math.floor(i/2));default:return d(n,i=t-e.length)+e}},u.truncate=function(e,t,n){return e&&(n=n||"...",(e=String(e)).length>(t=~~t)?e.slice(0,t)+n:e)},u.camelize=function(e){return u.trim(e).replace(/[-_\s]+(.)?/g,function(e,t){return t?t.toUpperCase():""})},u.dasherize=function(e){return u.trim(e).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},u}]),angular.module("utils").directive("collapsingTextfield",["$timeout",function(e){return{scope:{model:"=ngModel"},require:"ngModel",link:function(n,r,e,t){var i=r.get(0);n.$watch("model",function(){var e=0,t=r.height();for(r.removeAttr("style");i.clientHeight+2<i.scrollHeight&&e++<100;)r.height(r.height()+15);t!=r.height()&&n.$emit("collapsingTextfieldUpdated")}),r.addClass("expanded_textfield")}}}]),angular.module("utils").directive("enterPress",[function(){return function(t,e,n){e.bind("keydown keypress",function(e){13===e.which&&(t.$apply(function(){t.$eval(n.enterPress)}),e.preventDefault())})}}]),angular.module("utils").directive("specialKeyPress",["keyCodes",function(i){return function(t,e,n){var r=i[String(n.key).toLowerCase()]||+atrrs.key;e.bind("keydown keypress",function(e){e.which===r&&(t.$apply(function(){t.$eval(n.specialKeyPress)}),e.preventDefault())})}}]),angular.module("activetag.panel").run(["$templateCache",function(e){"use strict";e.put("/js/app/panel/common/directives/activeTagDialog/activeTagDialog.html",'<div class="at-dialog at-dialog_inactive" data-ng-class="{\'at-dialog_loading\':dialog.state.loading}">\n\t<div class="at-dialog__inner">\n\t\t<div class="at-dialog__header activetag-ignore">\n\t\t\t<div data-ng-if="dialog.tag">\n\t\t\t\t<div class="at-dialog__title" data-ng-bind="dialog.tag.partner"></div>\n\t\t\t\t<div class="at-dialog__subtitle" data-ng-bind="dialog.tag.article"></div>\n\t\t\t</div>\n\t\t\t<div data-ng-if="! dialog.tag">\n\t\t\t\t<div data-ng-if="dialog.imgElement">\n\t\t\t\t\t<div class="at-dialog__title" data-ng-bind="\'Изображение\'|t:step.language"></div>\n\t\t\t\t\t<div class="at-dialog__subtitle" data-ng-if="dialog.state.loading" data-ng-bind="\'Анализ...\'|t:step.language"></div>\n\t\t\t\t\t<div class="at-dialog__subtitle" data-ng-if="! dialog.state.loading" data-ng-bind="dialog.state.errorParsingImg && translate(\'Теги не обнаружены\', step.language) || ( dialog.qrText && translate(\'Содержимое QR-кода\', step.language) || translate(\'Результат распознавания\', step.language) )"></div>\n\t\t\t\t</div>\n\t\t\t\t<div data-ng-if="! dialog.imgElement && dialog.sessionId">\n\t\t\t\t\t<div class="at-dialog__title" data-ng-bind="\'Завершение оплаты\'|t:step.language"></div>\n\t\t\t\t</div>\n\t\t\t\t<div data-ng-if="! dialog.imgElement && ! dialog.sessionId">\n\t\t\t\t\t<div class="at-dialog__title" data-ng-bind="\'Активный тег\'|t:step.language"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<span class="at-dialog__loading" data-ng-bind="\'Загружаем...\'|t:step.language"></span>\n\t\t\t<span class="at-dialog__close" data-ng-if="isCloseable" data-ng-click="close()"></span>\n\t\t</div>\n\t\t<div class="at-dialog__crumbs" data-ng-if="dialog.steps.length">\n\t\t\t<div class="at-dialog__crumb" data-ng-repeat="step in dialog.steps" data-ng-if="! $last">\n\t\t\t\t<div data-step-title></div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div data-ng-if="dialog.tags.length > 1" class="at-dialog__tags-menu at-dialog-tags-menu">\n\t\t\t<span class="at-dialog-tags-menu__item"\n\t\t\t      data-ng-repeat="tagOption in dialog.tags"\n\t\t\t      data-ng-bind="tagOption.str"\n\t\t\t      data-ng-click="tagOption.str != dialog.tag.str && dialog.applyTag(tagOption)"\n\t\t\t      data-ng-class="{\'at-dialog-tags-menu__item_active\' : tagOption.str == dialog.tag.str }"\n\t\t\t></span>\n\t\t</div>\n\t\t<div data-ng-if="dialog.devMode && dialog.imgParseRes" class="at-dialog__dev at-dialog-dev">\n\t\t\t<div class="at-dialog-dev__header" data-ng-bind="\'Распознанный на изображении текст\'|t:step.language"></div>\n\t\t\t<div class="at-dialog-dev__code {{IGNORE_CLASS}}" data-ng-bind="dialog.imgParseRes.text"></div>\n\t\t</div>\n\t\t<div class="at-dialog__body">\n\t\t\t<div data-step-body></div>\n\t\t</div>\n\t</div>\n</div>'),e.put("/js/app/panel/common/directives/panel/panel.html",'<div id="at-panel" data-ng-controller="PanelCtrl" style="display:none" data-ng-class="[\n\'at-panel_lang-\' + lang\n]" class="at-panel">\n\t<div id="at-panel-dialog-holder"></div>\n\t<div id="at-panel-overlay" data-ng-click="onClickOverlay()"></div>\n</div>'),e.put("/js/app/panel/common/directives/panel/panelActiveTagInitializer.html",'<div data-active-tag-dialog id="at-panel-dialog" data-dialog-control></div>'),e.put("/js/app/panel/common/directives/stepBody/stepBody.html",'<div class="at-step-title">\n\t<div class="at-step-title__content" data-role="content"></div>\n</div>'),e.put("/js/app/panel/common/directives/stepBody/stepBodyContent.html",'\x3c!--div class="at-dialog__name" data-ng-bind="step.result.0.text"></div--\x3e\n\x3c!--div class="at-dialog__hint" data-ng-bind="step.hint" data-ng-if="step.hint"></div--\x3e\n<div>\n\t<div class="at-dialog__error" data-ng-if="dialog.state.errorParsingImg && ! step.result && ! step.menu.length && ! dialog.qrText" data-ng-bind="::\'Изображение не содержит тегов\'|t:step.language"></div>\n\t<div class="at-dialog__extra" data-ng-if="! dialog.state.errorParsingImg && ! step.result && ! step.menu.length && dialog.qrText">\n\t\t<div data-ng-bind-html="dialog.qrText|nl2br|autolinker"></div>\n\t</div>\n\t<div class="at-dialog__result" data-ng-if="step.result">\n\t\t<div class="at-dialog__result-item" data-ng-repeat="item in step.result track by $index">\n\t\t\t<div class="at-dialog__result-text" data-ng-if="item.text" data-ng-bind="item.text"></div>\n\t\t\t<div class="at-dialog__result-text at-markdown" data-ng-if="item.markdown_filtered" data-ng-bind-html="item.markdown_filtered"></div>\n\t\t\t<div data-ng-if="item.image" data-step-img="item.image"></div>\n\t\t\t<div data-ng-if="item.video" data-step-video="item.video"></div>\n\t\t</div>\n\t</div>\n\t<div class="at-dialog__menu" data-ng-if="step.menu.length">\n\t\t<div class="at-dialog__menu-items">\n\t\t\t<div class="at-dialog__menu-item"\n\t\t\t     data-ng-repeat="item in step.menu"\n\t\t\t     data-ng-class="[\n\t\t\t        item.req.length ? \'at-dialog__menu-item_interactive\' : \'\',\n\t\t\t        item.interactive ? \'at-dialog__menu-item_interactive-on\' : \'\'\n\t\t\t     ]"\n\t\t\t     data-ng-click="toggleMenuItem( item )">\n\t\t\t\t<div class="at-dialog__menu-item-content">\n\t\t\t\t\t<span class="at-dialog__menu-item-num" data-ng-bind="item.num"></span>\n\t\t\t\t\t<span class="at-dialog__menu-item-text" data-ng-bind="item.name"></span>\n\t\t\t\t\t<div class="at-dialog__menu-req" data-ng-if="item.req.length">\n\t\t\t\t\t\t<form class="at-dialog__menu-form" data-ng-submit="submitMenuItem(item)">\n\t\t\t\t\t\t\t<div class="at-dialog__menu-form-item" data-ng-repeat="field in item.req" data-step-field></div>\n\t\t\t\t\t\t\t<div class="at-dialog__menu-form-item at-dialog__menu-form-item_submit">\n\t\t\t\t\t\t\t\t<button type="submit" class="at-dialog__button" data-ng-bind="::\'Отправить\'|t:step.language"></button>\n\t\t\t\t\t\t\t\t<span class="at-dialog__secondary-link" data-ng-click="cancelMenuItem( item ); $event.stopPropagation()" data-ng-bind="::\'Отмена\'|t:step.language"></span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>'),e.put("/js/app/panel/common/directives/stepField/stepField.html","<div class=\"at-step-field\"\n     data-ng-class=\"{\n        'at-step-field_with-history' : field.values.length > 0\n\t        && field.type !== 'select'\n\t        && field.type !== 'checkbox'\n\t        && field.type !== 'date'\n\t        && field.type !== 'time',\n        'at-step-field_history-on' : fieldHistoryOn\n     }\"\n>\n\t<div class=\"at-step-field__wrap\">\n\t\t<label data-ng-if=\"field.type === 'checkbox'\" class=\"at-dialog__checkbox\">\n"+'\t\t\t<input type="checkbox" class="at-dialog__checkbox-field" data-ng-model="item.fields[$index].value">\n\t\t\t<span class="at-dialog__checkbox-label" data-ng-bind="field.title"></span>\n\t\t</label>\n\t\t<div\n\t\t\tdata-ng-if="field.type === \'camera-image\'"\n\t\t\tdata-step-field-camera-image\n\t\t\tdata-title="{{field.title}}"\n\t\t\tdata-model="item.fields[$index].value"\n\t\t></div>\n\t\t<div\n\t\t\tdata-ng-if="field.type === \'camera-qr\'"\n\t\t\tdata-step-field-camera-qr\n\t\t\tdata-title="{{field.title}}"\n\t\t\tdata-model="item.fields[$index].value"\n\t\t></div>\n\t\t<div\n\t\t\tdata-ng-if="field.type === \'camera-qr-auto\'"\n\t\t\tdata-step-field-camera-qr\n\t\t\tdata-camera-auto-open="1"\n\t\t\tdata-on-qr-detect="submitMenuItem(item)"\n\t\t\tdata-title="{{field.title}}"\n\t\t\tdata-model="item.fields[$index].value"\n\t\t></div>\n\t\t<label data-ng-switch="field.type" data-ng-if="field.type !== \'checkbox\' && field.type !== \'camera-image\' && field.type !== \'camera-qr\' && field.type !== \'camera-qr-auto\'" class="at-step-field__core">\n\t\t\t<span data-ng-bind="field.title" class="at-step-field__label"></span>\n\t\t\t<span class="at-step-field__core-wrap">\n\t\t\t\t<input data-ng-switch-when="date"\n\t\t\t\t       type="date" data-ng-model="item.fields[$index].value" class="at-dialog__field">\n\t\t\t\t<input data-ng-switch-when="email"\n\t\t\t\t       type="email" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<input data-ng-switch-when="number"\n\t\t\t\t       type="number" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<input data-ng-switch-when="time"\n\t\t\t\t       type="time" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<input data-ng-switch-when="password"\n\t\t\t\t       type="password" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<input data-ng-switch-when="phone"\n\t\t\t\t       type="tel" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<textarea data-ng-switch-when="text-multiline"\n\t\t\t\t          data-ng-model="item.fields[$index].value"\n\t\t\t\t          class="at-dialog__field at-dialog__field_textarea"></textarea>\n\t\t\t\t<select data-ng-switch-when="select"\n\t\t\t\t        data-ng-change="onSelectChange( field )"\n\t\t\t\t        data-ng-model="item.fields[$index].value" class="at-dialog__field at-dialog__field_select"\n\t\t\t\t        data-ng-options="option.value as option.title for option in (field.optionsReady || [])"\n\t\t\t\t        ></select>\n\t\t\t\t<input data-ng-switch-default\n\t\t\t\t       type="text" data-ng-model="item.fields[$index].value" class="at-dialog__field"\n\t\t\t\t       list="{{dataListId}}">\n\t\t\t\t<span class="at-step-field__settings-toggle" title="{{::\'Сохранённые значения\'|t:step.language}}" data-ng-click="toggleFieldHistory()"></span>\n\t\t\t</span>\n\t\t</label>\n\t</div>\n\t<div class="at-step-field__settings at-field-history" data-ng-if="fieldHistoryOn">\n\t\t<div class="at-field-history__header" data-ng-bind="::\'Сохранённые значения\'|t:step.language"></div>\n\t\t<div class="at-field-history__body">\n\t\t\t<span class="at-field-history__item" data-ng-repeat="v in field.values">\n\t\t\t\t<span class="at-field-history__item-name" data-ng-bind="v" data-ng-click="applyFieldHistoryItem(v)" title="{{v}}"></span>\n\t\t\t\t<span class="at-field-history__item-delete" title="{{::\'Удалить из истории\'|t:step.language}}" data-ng-click="deleteFieldHistoryItem(v)"></span>\n\t\t\t</span>\n\t\t</div>\n\t</div>\n\t<datalist id="{{dataListId}}" data-ng-if="field.values.length > 0">\n\t\t<option value="{{v}}" data-ng-bind="v" data-ng-repeat="v in field.values"></option>\n\t</datalist>\n\t<div class="at-dialog__menu-form-desc" data-ng-if="field.desc" data-ng-bind="field.desc"></div>\n</div>'),e.put("/js/app/panel/common/directives/stepFieldCameraImage/stepFieldCameraImage.html",'<div class="at-field-camera">\n\t<div class="at-field-camera__label" data-ng-if="! is.streamNotSupported">\n\t\t<div data-ng-bind="title" class="at-field-camera__title"></div>\n\t\t<div class="at-field-camera__btn-wrap">\n\t\t\t<span class="at-field-camera__btn" data-ng-click="tryOpenStream()">\n\t\t\t\t<span class="at-field-camera__btn-icon"><svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#FFF"><g id="info"/><g id="icons"><path d="M19,7h-0.4c-0.4,0-0.7-0.2-0.9-0.6l-1.2-2.3c-0.3-0.7-1-1.1-1.8-1.1H9.2C8.5,3,7.8,3.4,7.4,4.1L6.3,6.4   C6.1,6.8,5.8,7,5.4,7H5c-2.2,0-4,1.8-4,4v6c0,2.2,1.8,4,4,4h14c2.2,0,4-1.8,4-4v-6C23,8.8,21.2,7,19,7z M12,17c-2.2,0-4-1.8-4-4   c0-2.2,1.8-4,4-4s4,1.8,4,4C16,15.2,14.2,17,12,17z" id="photo"/></g></svg></span>\n\t\t\t\t<span class="at-field-camera__btn-text">Открыть камеру</span>\n\t\t\t</span>\n\t\t</div>\n\t</div>\n\t<div class="at-field-camera__not-supported" data-ng-if="is.streamNotSupported">Фотографирование недоступно</div>\n\t<div class="at-field-camera__capture" data-ng-if="capturedSrc">\n\t\t<div class="at-field-camera__img"\n\t\t     data-ng-style="{\'background-image\':\'url(\' +  capturedSrc + \')\'}"\n\t\t     data-ng-click="removeCaptured()"\n\t\t></div>\n\t</div>\n\t<div class="at-field-camera__stream" data-ng-if="is.streamActive">\n\t\t<video class="at-field-camera__stream-video" autoplay playsinline></video>\n\t\t<div class="at-field-camera__stream-btn" data-ng-click="capture()"><svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#FFF"><g id="info"/><g id="icons"><path d="M19,7h-0.4c-0.4,0-0.7-0.2-0.9-0.6l-1.2-2.3c-0.3-0.7-1-1.1-1.8-1.1H9.2C8.5,3,7.8,3.4,7.4,4.1L6.3,6.4   C6.1,6.8,5.8,7,5.4,7H5c-2.2,0-4,1.8-4,4v6c0,2.2,1.8,4,4,4h14c2.2,0,4-1.8,4-4v-6C23,8.8,21.2,7,19,7z M12,17c-2.2,0-4-1.8-4-4   c0-2.2,1.8-4,4-4s4,1.8,4,4C16,15.2,14.2,17,12,17z" id="photo"/></g></svg></div>\n\t\t<span class="at-field-camera__stream-close" data-ng-click="closeStream()">\n\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><line x1="1" y1="1" x2="19" y2="19" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/><line x1="1" y1="19" x2="19" y2="1" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>\n\t\t</span>\n\t</div>\n\t<canvas class="at-field-camera__canvas"></canvas>\n</div>'),e.put("/js/app/panel/common/directives/stepFieldCameraQr/stepFieldCameraQr.html",'<div class="at-field-camera">\n\t<div class="at-field-camera__label">\n\t\t<div data-ng-bind="title" class="at-field-camera__title"></div>\n\t\t<div class="at-field-camera__btn-wrap">\n\t\t\t<span class="at-field-camera__btn" data-ng-click="tryOpenStream()">\n\t\t\t\t<span class="at-field-camera__btn-icon"><svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#FFF"><g id="info"/><g id="icons"><path d="M19,7h-0.4c-0.4,0-0.7-0.2-0.9-0.6l-1.2-2.3c-0.3-0.7-1-1.1-1.8-1.1H9.2C8.5,3,7.8,3.4,7.4,4.1L6.3,6.4   C6.1,6.8,5.8,7,5.4,7H5c-2.2,0-4,1.8-4,4v6c0,2.2,1.8,4,4,4h14c2.2,0,4-1.8,4-4v-6C23,8.8,21.2,7,19,7z M12,17c-2.2,0-4-1.8-4-4   c0-2.2,1.8-4,4-4s4,1.8,4,4C16,15.2,14.2,17,12,17z" id="photo"/></g></svg></span>\n\t\t\t\t<span class="at-field-camera__btn-text">Открыть камеру</span>\n\t\t\t</span>\n\t\t</div>\n\t\t<div class="at-field-camera__found" data-ng-if="model">\n\t\t\tКод найден!\n\t\t</div>\n\t</div>\n\t<div class="at-field-camera__stream" data-ng-if="is.streamOpen">\n\t\t<div class="at-field-camera__stream-msg at-field-camera__stream-msg_error" data-ng-if="is.streamNotSupported">\n\t\t\t<span>\n\t\t\t\tКамера недоступна. Пожалуйста, убедитесь, что&nbsp;доступ браузера к&nbsp;ней разрешён\n\t\t\t\t<span class="at-field-camera__stream-msg-btn" data-ng-click="closeStream()">Закрыть</span>\n\t\t\t</span>\n\t\t</div>\n\t\t<div class="at-field-camera__stream-msg at-field-camera__stream-msg_error" data-ng-if="!is.streamNotSupported && is.streamError">\n\t\t\t<span>\n\t\t\t\tПроизошла ошибка. Мы над этим работаем, пожалуйста попробуйте позже\n\t\t\t\t<span class="at-field-camera__stream-msg-btn" data-ng-click="closeStream()">Закрыть</span>\n\t\t\t</span>\n\t\t</div>\n\t\t<div class="at-field-camera__stream-msg" data-ng-if="is.streamLoading">\n\t\t\tЗагружаем...\n\t\t</div>\n\t\t<div class="at-field-camera__info" data-ng-if="!is.streamLoading && !is.streamNotSupported && !is.streamError">\n\t\t\t<div class="at-field-camera__tip">\n\t\t\t\tНаведите камеру на&nbsp;QR-код\n\t\t\t</div>\n\t\t</div>\n\t\t<canvas class="at-field-camera__buffer" data-role="stream-buffer"></canvas>\n\t\t<video class="at-field-camera__stream-video" autoplay playsinline data-role="stream-video"></video>\n\t\t<span class="at-field-camera__stream-close" data-ng-click="closeStream()">\n\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><line x1="1" y1="1" x2="19" y2="19" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/><line x1="1" y1="19" x2="19" y2="1" fill="none" stroke="#FFF" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/></svg>\n\t\t</span>\n\t</div>\n</div>'),e.put("/js/app/panel/common/directives/stepTitle/stepTitle.html",'<div class="at-step-title">\n\t<div class="at-step-title__content" data-role="content"></div>\n</div>'),e.put("/js/app/panel/common/directives/stepTitle/stepTitleContent.html",'<span class="at-step-title__text"\n      data-ng-class="{\'at-step-title__text_clickable\' : step.revertible}"\n      data-ng-bind="step.title || (\'Шаг \' + ( $index + 1 ))"\n      data-ng-click="step.revertible && dialog.goBackToStep($index)"></span>')}]),function(e){e.activetag=e.activetag||{},e.activetag.jQuery=jQuery.noConflict(!0);function t(){var n,e=angular.element(document.body),t=angular.element("<div data-ng-non-bindable><div data-panel-starter></div></div>");e.is("frameset")?t.insertBefore(e):t.prependTo(e),n=t.find(">div");try{angular.bootstrap(n[0],["activetag.panel"])}catch(e){angular.injector&&angular.injector(["ng","activetag.panel"]).invoke(["$rootScope","$compile",function(e,t){t(n[0])(e)}])}}document&&document.body?t():angular.element.ready(t)}(this);